Loading...
Loading...
Reference
Core endpoints for OmegaEngine v2 — the full surface is in the OpenAPI spec. All endpoints use x-api-key header authentication.
All API requests require an API key passed via the x-api-key header.
x-api-key: omega_your_api_key_herehttps://omegaengine.ai/api/authorize/api/authorize/approval/claim/api/authorize/session/start/api/authorize/session/step/api/authorize/session/end/api/v2/judge/api/v2/feedback/api/decision/api/decision/verify/api/v2/posture/api/v2/score/api/v2/anomalies/api/v2/forensics/api/v2/zero-day/api/v2/threat-intel/api/v2/surface/api/v2/correlate/api/v2/fingerprint/api/v2/threat-model/api/v2/incidents/api/v2/costs/api/v2/playbooks/api/v2/contracts/api/v2/sla/api/v2/chaos/api/v2/simulate/api/v2/tenant-risk/api/v2/regulatory/api/v2/maturity/api/v2/sbom/api/v2/report/pentest/api/v2/report/executive/api/v2/benchmark/api/v2/monitor/drift/api/v2/scan/api/v2/redteam/quick-scan/api/v2/scan/diff/api/v2/ci/gate/api/v2/webhooks/api/v2/webhooks/api/v2/status/api/v2/badge/api/v2/integrations/slack/api/v2/integrations/slack/api/v2/usage/api/logs/api/compliance/export/api/proof/api/policies/api/health/api/ping/api/usage/summarycurl -X POST https://omegaengine.ai/api/v2/judge \
-H "Content-Type: application/json" \
-H "x-api-key: omega_your_api_key_here" \
-d '{
"scenario": "Should I approve this $50,000 wire transfer?",
"context": "VIP customer, 780 credit score, 5yr history",
"domain": "FINANCIAL",
"riskTolerance": "LOW",
"receipt": true
}'{
"ok": true,
"judge": {
"recommendedAction": "PROCEED",
"riskLevel": "LOW",
"riskScore": 23,
"safetyScore": 96,
"needsHumanReview": false,
"ethicsConcern": false,
"policyTags": ["FINANCIAL_DECISION", "CREDIT_ASSESSMENT"],
"riskDrivers": ["credit_profile_strong", "amount_immaterial"],
"summary": "Strong credit profile with stable employment..."
},
"meta": {
"tier": "pro",
"tierName": "Pro",
"mode": "live",
"durationMs": 245,
"version": "v2",
"decisionId": "1c2a7e0e-5b3f-4c9d-9a41-8f2e6d0c7b1a",
"receiptUrl": "/api/v2/receipt?decisionId=1c2a7e0e-...",
"receipt": {
"kind": "omega-receipt",
"version": "1",
"receiptId": "<sha256 of the canonical receipt body>",
"contents": { "profile": "decision.v1", "decision": "PROCEED", "scenarioHash": "<sha256>", "...": "..." },
"signatureV2": "<Ed25519 compact JWS — verify offline with @omegaengine/verify>"
}
}
}"receipt": true (Pro+ plans) embeds a portable OmegaReceipt v1 as meta.receipt — an Ed25519-signed receipt you can verify offline, with no trust in our servers: see Verify without trusting us. meta.receiptUrl is returned on all metered tiers and points at the server-verified DecisionProof.
Test any GET endpoint directly from the docs. Select an endpoint and hit Send.
import { OmegaClient } from "@omegaengine/sdk";
const omega = new OmegaClient({
baseUrl: "https://omegaengine.ai",
apiKey: process.env.OMEGA_API_KEY!,
});
// Get the full security posture (16 engines, sub-second)
const posture = await omega.security.posture({
organization: "Acme Corp",
industry: "fintech",
});
console.log(posture.posture.adversarialRobustnessScore);
console.log(posture.posture.executiveNarrative);
// Get individual intelligence
const ars = await omega.security.score();
console.log(`ARS: ${ars.report.score}/1000 (${ars.report.bandLabel})`);
const sla = await omega.security.sla();
if (sla.sla.violated > 0) {
console.warn(`${sla.sla.violated} SLAs violated!`);
}
const threats = await omega.security.threatIntel("critical");
for (const t of threats.catalog) {
console.log(`[${t.severity}] ${t.name} — ${t.mitre}`);
}Subscribe to push notifications for security events via POST /api/v2/webhooks.
| Event | Description | Severity |
|---|---|---|
| sla.violated | Security SLA threshold breached | Critical |
| sla.at_risk | SLA approaching violation threshold | Warning |
| anomaly.spike | Anomalous traffic pattern detected | High |
| zero_day.discovered | Novel adversarial pattern found | Critical |
| attack.campaign_detected | Cross-tenant coordinated attack | Critical |
| drift.regression | Safety score decreased between scans | High |
| chaos.failure | Chaos experiment failed (resilience gap) | High |
| contract.violation | Model behavior contract breached | High |
| incident.created | New security incident opened | Medium |
| incident.escalated | Incident escalated to P1/P0 | Critical |
| scan.completed | Adversarial scan finished | Info |
| regulatory.action_required | New compliance requirement detected | Warning |
| posture.score_drop | Overall security posture degraded | High |
| Tier | Rate Limit | Decisions/Month |
|---|---|---|
| Free | 1 req/s | 100 |
| Developer | 5 req/s | 1,000 |
| Pro | 10 req/s | 5,000 |
| Business | 50 req/s | 25,000 |
| Enterprise | 200 req/s | Contracted |
Sourced from the canonical plan config — see Pricing & Limits for overage and retention details.
| Code | HTTP | Description |
|---|---|---|
| UNAUTHORIZED | 401 | Missing or invalid API key |
| FORBIDDEN | 403 | Insufficient permissions |
| RATE_LIMIT_EXCEEDED | 429 | Too many requests |
| PLAN_LIMIT_EXCEEDED | 402 | Usage limit for plan tier |
| SAFETY_BLOCKED | 451 | Content blocked by safety system |
| INTERNAL_ERROR | 500 | Server error |