{"openapi":"3.1.0","info":{"title":"LargeQuant Platform API","version":"1.2.0","summary":"Operate LargeQuant Omni, Large Quantitative Models, assurance, benchmarks, connectors and workflows.","description":"The public contract for the LargeQuant LQM operating system. LQDX2 provides lq_test_ deterministic sandbox credentials, lq_live_ production credentials, service accounts and compatibility with existing Sanctum platform keys."},"servers":[{"url":"https:\/\/largequant.com\/api\/v1"}],"security":[{"bearerAuth":[]},{"largequantApiKey":[]}],"tags":[{"name":"Models"},{"name":"Runs"},{"name":"Composition"},{"name":"Benchmarks"},{"name":"Verify"},{"name":"Guard"},{"name":"Forecasts"},{"name":"Connectors"},{"name":"Workflows"},{"name":"Evidence"},{"name":"Outcomes"},{"name":"MCP"},{"name":"Omni","description":"One developer contract across LargeQuant quantitative worlds."},{"name":"Developer Identity","description":"Test\/live credentials, service-account context and deterministic sandbox."}],"paths":{"\/models":{"get":{"summary":"List available LQMs","tags":["Models"],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}}}},"\/models\/{model}\/runs":{"post":{"summary":"Run an LQM","tags":["Runs"],"responses":{"202":{"description":"Accepted","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}},"422":{"$ref":"#\/components\/responses\/ValidationError"}},"parameters":[{"name":"model","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/lqm\/compositions":{"get":{"summary":"List model compositions","tags":["Composition"],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}}},"post":{"summary":"Create a model composition","tags":["Composition"],"responses":{"201":{"description":"Created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/benchmarks\/runs":{"post":{"summary":"Run LQBench evaluation","tags":["Benchmarks"],"responses":{"202":{"description":"Accepted","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}},"422":{"$ref":"#\/components\/responses\/ValidationError"}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/verify":{"post":{"summary":"Verify a quantitative output","tags":["Verify"],"responses":{"200":{"description":"Verification result","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/guard\/check":{"post":{"summary":"Check a proposed action","tags":["Guard"],"responses":{"200":{"description":"Guard result","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/verify\/forecasts":{"get":{"summary":"List forecasts","tags":["Forecasts"],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}}},"post":{"summary":"Create a forecast","tags":["Forecasts"],"responses":{"201":{"description":"Created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/connector-definitions":{"get":{"summary":"List connector contracts","tags":["Connectors"],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}}}},"\/connections":{"get":{"summary":"List workspace connections","tags":["Connectors"],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}}},"post":{"summary":"Configure a connection","tags":["Connectors"],"responses":{"201":{"description":"Created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/connections\/{uuid}":{"get":{"summary":"Inspect a connection without credentials","tags":["Connectors"],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}},"parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"}}]}},"\/connections\/{uuid}\/validate":{"post":{"summary":"Validate connection configuration","tags":["Connectors"],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}},"parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/connections\/{uuid}\/events":{"post":{"summary":"Ingest an idempotent canonical connector event","tags":["Connectors"],"responses":{"202":{"description":"Accepted","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}},"422":{"$ref":"#\/components\/responses\/ValidationError"}},"parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/workflows":{"get":{"summary":"List workflows","tags":["Workflows"],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}}},"post":{"summary":"Create a workflow definition","tags":["Workflows"],"responses":{"201":{"description":"Created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/workflows\/{uuid}\/runs":{"post":{"summary":"Queue an idempotent workflow run","tags":["Workflows"],"responses":{"202":{"description":"Accepted","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}},"422":{"$ref":"#\/components\/responses\/ValidationError"}},"parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/workflow-runs\/{uuid}":{"get":{"summary":"Inspect workflow run state","tags":["Workflows"],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}},"parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"}}]}},"\/lqm\/evidence\/{uuid}":{"get":{"summary":"Retrieve execution evidence","tags":["Evidence"],"responses":{"200":{"description":"Successful response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}},"parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"}}]}},"\/outcomes":{"post":{"summary":"Record an observed outcome","tags":["Outcomes"],"responses":{"201":{"description":"Created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"schema":{"type":"string","maxLength":128}}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/verify\/mcp":{"post":{"summary":"Call the LargeQuant MCP server","tags":["MCP"],"responses":{"200":{"description":"JSON-RPC response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Envelope"}}}}},"requestBody":{"required":true,"content":{"application\/json":{"schema":{"type":"object","additionalProperties":true}}}}}},"\/omni":{"get":{"summary":"List Omni worlds","operationId":"listOmniWorlds","tags":["Omni"],"responses":{"200":{"description":"Omni worlds","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniWorldList"}}}},"401":{"$ref":"#\/components\/responses\/OmniUnauthenticated"},"403":{"$ref":"#\/components\/responses\/OmniForbidden"},"404":{"$ref":"#\/components\/responses\/OmniNotFound"},"409":{"$ref":"#\/components\/responses\/OmniConflict"},"422":{"$ref":"#\/components\/responses\/OmniValidationError"},"429":{"$ref":"#\/components\/responses\/OmniRateLimited"},"503":{"$ref":"#\/components\/responses\/OmniUnavailable"}}}},"\/omni\/{world}\/capabilities":{"get":{"summary":"List capabilities in an Omni world","operationId":"listOmniCapabilities","tags":["Omni"],"parameters":[{"name":"world","in":"path","required":true,"schema":{"type":"string","enum":["finance","risk","treasury","physics","molecular","biology","scientific-discovery"]}}],"responses":{"200":{"description":"Omni capabilities","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniCapabilityList"}}}},"401":{"$ref":"#\/components\/responses\/OmniUnauthenticated"},"403":{"$ref":"#\/components\/responses\/OmniForbidden"},"404":{"$ref":"#\/components\/responses\/OmniNotFound"},"409":{"$ref":"#\/components\/responses\/OmniConflict"},"422":{"$ref":"#\/components\/responses\/OmniValidationError"},"429":{"$ref":"#\/components\/responses\/OmniRateLimited"},"503":{"$ref":"#\/components\/responses\/OmniUnavailable"}}}},"\/omni\/{world}\/capabilities\/{capability}":{"get":{"summary":"Inspect one Omni capability","operationId":"getOmniCapability","tags":["Omni"],"parameters":[{"name":"world","in":"path","required":true,"schema":{"type":"string","enum":["finance","risk","treasury","physics","molecular","biology","scientific-discovery"]}},{"name":"capability","in":"path","required":true,"schema":{"type":"string","maxLength":96}}],"responses":{"200":{"description":"Omni capability","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniCapabilityEnvelope"}}}},"401":{"$ref":"#\/components\/responses\/OmniUnauthenticated"},"403":{"$ref":"#\/components\/responses\/OmniForbidden"},"404":{"$ref":"#\/components\/responses\/OmniNotFound"},"409":{"$ref":"#\/components\/responses\/OmniConflict"},"422":{"$ref":"#\/components\/responses\/OmniValidationError"},"429":{"$ref":"#\/components\/responses\/OmniRateLimited"},"503":{"$ref":"#\/components\/responses\/OmniUnavailable"}}}},"\/omni\/{world}\/workspaces":{"get":{"summary":"List accessible workspaces for an Omni world","operationId":"listOmniWorkspaces","tags":["Omni"],"parameters":[{"name":"world","in":"path","required":true,"schema":{"type":"string","enum":["finance","risk","treasury","physics","molecular","biology","scientific-discovery"]}}],"responses":{"200":{"description":"Omni workspaces","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniWorkspaceList"}}}},"401":{"$ref":"#\/components\/responses\/OmniUnauthenticated"},"403":{"$ref":"#\/components\/responses\/OmniForbidden"},"404":{"$ref":"#\/components\/responses\/OmniNotFound"},"409":{"$ref":"#\/components\/responses\/OmniConflict"},"422":{"$ref":"#\/components\/responses\/OmniValidationError"},"429":{"$ref":"#\/components\/responses\/OmniRateLimited"},"503":{"$ref":"#\/components\/responses\/OmniUnavailable"}}}},"\/omni\/runs":{"get":{"summary":"List Omni API runs","operationId":"listOmniRuns","tags":["Omni"],"parameters":[{"name":"world","in":"query","required":false,"schema":{"type":"string","enum":["finance","risk","treasury","physics","molecular","biology","scientific-discovery"]}},{"name":"workspace_id","in":"query","required":false,"schema":{"type":"string","format":"uuid"}},{"name":"status","in":"query","required":false,"schema":{"$ref":"#\/components\/schemas\/OmniRunStatus"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":100,"default":25}}],"responses":{"200":{"description":"Omni runs","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniRunList"}}}},"401":{"$ref":"#\/components\/responses\/OmniUnauthenticated"},"403":{"$ref":"#\/components\/responses\/OmniForbidden"},"404":{"$ref":"#\/components\/responses\/OmniNotFound"},"409":{"$ref":"#\/components\/responses\/OmniConflict"},"422":{"$ref":"#\/components\/responses\/OmniValidationError"},"429":{"$ref":"#\/components\/responses\/OmniRateLimited"},"503":{"$ref":"#\/components\/responses\/OmniUnavailable"}}}},"\/omni\/{world}\/runs":{"post":{"summary":"Run an Omni capability","operationId":"createOmniRun","tags":["Omni"],"parameters":[{"name":"world","in":"path","required":true,"schema":{"type":"string","enum":["finance","risk","treasury","physics","molecular","biology","scientific-discovery"]}},{"$ref":"#\/components\/parameters\/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniRunRequest"}}}},"responses":{"200":{"description":"Synchronous run completed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniRunEnvelope"}}}},"202":{"description":"Asynchronous run accepted","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniRunEnvelope"}}}},"401":{"$ref":"#\/components\/responses\/OmniUnauthenticated"},"403":{"$ref":"#\/components\/responses\/OmniForbidden"},"404":{"$ref":"#\/components\/responses\/OmniNotFound"},"409":{"$ref":"#\/components\/responses\/OmniConflict"},"422":{"$ref":"#\/components\/responses\/OmniValidationError"},"429":{"$ref":"#\/components\/responses\/OmniRateLimited"},"503":{"$ref":"#\/components\/responses\/OmniUnavailable"}}}},"\/omni\/runs\/{run}":{"get":{"summary":"Get an Omni run","operationId":"getOmniRun","tags":["Omni"],"parameters":[{"name":"run","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Omni run","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniRunEnvelope"}}}},"401":{"$ref":"#\/components\/responses\/OmniUnauthenticated"},"403":{"$ref":"#\/components\/responses\/OmniForbidden"},"404":{"$ref":"#\/components\/responses\/OmniNotFound"},"409":{"$ref":"#\/components\/responses\/OmniConflict"},"422":{"$ref":"#\/components\/responses\/OmniValidationError"},"429":{"$ref":"#\/components\/responses\/OmniRateLimited"},"503":{"$ref":"#\/components\/responses\/OmniUnavailable"}}}},"\/omni\/runs\/{run}\/cancel":{"post":{"summary":"Cancel an asynchronous Omni run","operationId":"cancelOmniRun","tags":["Omni"],"parameters":[{"name":"run","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Omni run","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniRunEnvelope"}}}},"401":{"$ref":"#\/components\/responses\/OmniUnauthenticated"},"403":{"$ref":"#\/components\/responses\/OmniForbidden"},"404":{"$ref":"#\/components\/responses\/OmniNotFound"},"409":{"$ref":"#\/components\/responses\/OmniConflict"},"422":{"$ref":"#\/components\/responses\/OmniValidationError"},"429":{"$ref":"#\/components\/responses\/OmniRateLimited"},"503":{"$ref":"#\/components\/responses\/OmniUnavailable"}}}},"\/omni\/runs\/{run}\/evidence":{"get":{"summary":"Retrieve verified evidence for an Omni run","operationId":"getOmniRunEvidence","tags":["Omni"],"parameters":[{"name":"run","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Run evidence","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniEvidenceEnvelope"}}}},"401":{"$ref":"#\/components\/responses\/OmniUnauthenticated"},"403":{"$ref":"#\/components\/responses\/OmniForbidden"},"404":{"$ref":"#\/components\/responses\/OmniNotFound"},"409":{"$ref":"#\/components\/responses\/OmniConflict"},"422":{"$ref":"#\/components\/responses\/OmniValidationError"},"429":{"$ref":"#\/components\/responses\/OmniRateLimited"},"503":{"$ref":"#\/components\/responses\/OmniUnavailable"}}}},"\/developer\/context":{"get":{"summary":"Inspect the authenticated developer principal","operationId":"getDeveloperContext","tags":["Developer Identity"],"responses":{"200":{"description":"Developer principal context","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeveloperContextEnvelope"}}}},"401":{"$ref":"#\/components\/responses\/OmniUnauthenticated"},"403":{"$ref":"#\/components\/responses\/OmniForbidden"}}}},"\/developer\/sandbox":{"get":{"summary":"Confirm deterministic sandbox mode","operationId":"getDeveloperSandbox","tags":["Developer Identity"],"responses":{"200":{"description":"Sandbox contract","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/DeveloperSandboxEnvelope"}}}},"401":{"$ref":"#\/components\/responses\/OmniUnauthenticated"},"409":{"$ref":"#\/components\/responses\/OmniConflict"}}}},"\/developer\/webhooks\/{uuid}\/test":{"post":{"summary":"Queue a signed test webhook delivery","operationId":"testDeveloperWebhook","tags":["Developer Identity"],"parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"Test webhook queued","content":{"application\/json":{"schema":{"type":"object"}}}},"401":{"$ref":"#\/components\/responses\/OmniUnauthenticated"},"403":{"$ref":"#\/components\/responses\/OmniForbidden"},"404":{"$ref":"#\/components\/responses\/OmniNotFound"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"lq_test_ \/ lq_live_ \/ legacy LargeQuant key"},"largequantApiKey":{"type":"apiKey","in":"header","name":"X-LargeQuant-API-Key","description":"Fallback transport for hosting stacks that do not forward Authorization to PHP. Authorization: Bearer remains preferred."}},"schemas":{"Envelope":{"type":"object","properties":{"ok":{"type":"boolean"},"data":[],"message":{"type":["string","null"]}}},"Error":{"type":"object","properties":{"ok":{"type":"boolean"},"message":{"type":"string"},"errors":{"type":"object"}}},"OmniMeta":{"type":"object","required":["request_id"],"properties":{"request_id":{"type":"string"}}},"OmniWorld":{"type":"object","required":["id","object","name","capability_count","links"],"properties":{"id":{"type":"string","enum":["finance","risk","treasury","physics","molecular","biology","scientific-discovery"]},"object":{"type":"string","const":"omni.world"},"name":{"type":"string"},"capability_count":{"type":"integer","minimum":0},"links":{"type":"object","additionalProperties":{"type":"string"}}}},"OmniWorldList":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/OmniWorld"}},"meta":{"$ref":"#\/components\/schemas\/OmniMeta"}}},"OmniCapability":{"type":"object","required":["id","object","world","name","execution","workload_class","idempotent","evidence"],"properties":{"id":{"type":"string"},"object":{"type":"string","const":"omni.capability"},"world":{"type":"string","enum":["finance","risk","treasury","physics","molecular","biology","scientific-discovery"]},"name":{"type":"string"},"description":{"type":["string","null"]},"execution":{"type":"string","enum":["direct","job"]},"workload_class":{"type":"string","enum":["very_low","low","medium","high","very_high"]},"idempotent":{"type":"boolean"},"evidence":{"type":"boolean"},"request_contract":{"type":"object"}}},"OmniCapabilityEnvelope":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#\/components\/schemas\/OmniCapability"},"meta":{"$ref":"#\/components\/schemas\/OmniMeta"}}},"OmniCapabilityList":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/OmniCapability"}},"meta":{"$ref":"#\/components\/schemas\/OmniMeta"}}},"OmniWorkspace":{"type":"object","required":["id","object","world","name"],"properties":{"id":{"type":"string","format":"uuid"},"object":{"type":"string","const":"omni.workspace"},"world":{"type":"string","enum":["finance","risk","treasury","physics","molecular","biology","scientific-discovery"]},"name":{"type":"string"},"organization_id":{"type":["string","null"],"format":"uuid"},"links":{"type":"object"}}},"OmniWorkspaceList":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/OmniWorkspace"}},"meta":{"$ref":"#\/components\/schemas\/OmniMeta"}}},"OmniRunStatus":{"type":"string","enum":["dispatching","queued","running","completed","failed","cancelled"]},"OmniRunRequest":{"type":"object","required":["workspace_id","capability","input"],"additionalProperties":false,"properties":{"workspace_id":{"type":"string","format":"uuid"},"capability":{"type":"string","maxLength":96},"input":{"type":"object","description":"Capability-specific input. Discover the capability before execution."}}},"OmniRun":{"type":"object","required":["id","object","contract","world","capability","workspace_id","status","execution","billing","created_at","links"],"properties":{"id":{"type":"string","format":"uuid"},"object":{"type":"string","const":"omni.run"},"contract":{"type":"string","const":"LQOMNI\/1.0"},"world":{"type":"string","enum":["finance","risk","treasury","physics","molecular","biology","scientific-discovery"]},"capability":{"type":"string"},"workspace_id":{"type":"string","format":"uuid"},"status":{"$ref":"#\/components\/schemas\/OmniRunStatus"},"execution":{"type":"string","enum":["direct","job","sandbox"]},"mode":{"type":"string","enum":["test","live"]},"sandbox":{"type":"boolean"},"project_id":{"type":["string","null"],"format":"uuid"},"environment_id":{"type":["string","null"],"format":"uuid"},"evidence_id":{"type":["string","null"]},"request_id":{"type":["string","null"]},"billing":{"$ref":"#\/components\/schemas\/OmniBilling"},"result":{"type":["object","null"]},"error":{"anyOf":[{"$ref":"#\/components\/schemas\/OmniError"},{"type":"null"}]},"created_at":{"type":"string","format":"date-time"},"updated_at":{"type":["string","null"],"format":"date-time"},"completed_at":{"type":["string","null"],"format":"date-time"},"links":{"type":"object","additionalProperties":{"type":"string"}}}},"OmniBilling":{"type":"object","required":["workload_class","quant_balance_enforcement"],"properties":{"workload_class":{"type":"string","enum":["very_low","low","medium","high","very_high"]},"quant_balance_enforcement":{"type":"boolean"},"sandbox_billable":{"type":"boolean"}}},"OmniRunEnvelope":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#\/components\/schemas\/OmniRun"},"meta":{"$ref":"#\/components\/schemas\/OmniMeta"}}},"OmniRunList":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"array","items":{"$ref":"#\/components\/schemas\/OmniRun"}},"meta":{"$ref":"#\/components\/schemas\/OmniMeta"}}},"OmniEvidenceEnvelope":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object"},"meta":{"$ref":"#\/components\/schemas\/OmniMeta"}}},"OmniError":{"type":"object","required":["type","code","message","request_id","retryable"],"properties":{"type":{"type":"string"},"code":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":["object","null"]},"docs_url":{"type":["string","null"],"format":"uri"}}},"OmniErrorEnvelope":{"type":"object","required":["error"],"properties":{"error":{"$ref":"#\/components\/schemas\/OmniError"}}},"DeveloperContext":{"type":"object","required":["object","protocol","principal_type","mode","sandbox","scopes"],"properties":{"object":{"type":"string","const":"developer.context"},"protocol":{"type":"string","const":"LQDEV\/1.0"},"principal_type":{"type":"string","enum":["developer_key","service_account","legacy_sanctum"]},"mode":{"type":"string","enum":["test","live"]},"sandbox":{"type":"boolean"},"scopes":{"type":"array","items":{"type":"string"}},"service_account":{"type":["object","null"]},"workspace_id":{"type":["string","null"],"format":"uuid"},"project_id":{"type":["string","null"],"format":"uuid"},"environment_id":{"type":["string","null"],"format":"uuid"},"environment_type":{"type":["string","null"]}}},"DeveloperContextEnvelope":{"type":"object","required":["data","meta"],"properties":{"data":{"$ref":"#\/components\/schemas\/DeveloperContext"},"meta":{"$ref":"#\/components\/schemas\/OmniMeta"}}},"DeveloperSandboxEnvelope":{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","properties":{"object":{"type":"string","const":"developer.sandbox"},"mode":{"type":"string","const":"test"},"deterministic":{"type":"boolean"},"external_runtime_called":{"type":"boolean"},"message":{"type":"string"}}},"meta":{"$ref":"#\/components\/schemas\/OmniMeta"}}}},"responses":{"ValidationError":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/Error"}}}},"OmniUnauthenticated":{"description":"Authentication failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniErrorEnvelope"}}}},"OmniForbidden":{"description":"Not authorized","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniErrorEnvelope"}}}},"OmniNotFound":{"description":"Resource not found","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniErrorEnvelope"}}}},"OmniConflict":{"description":"Idempotency or state conflict","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniErrorEnvelope"}}}},"OmniValidationError":{"description":"Validation failed","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniErrorEnvelope"}}}},"OmniRateLimited":{"description":"Rate limit exceeded","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniErrorEnvelope"}}}},"OmniUnavailable":{"description":"Omni runtime unavailable","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/OmniErrorEnvelope"}}}}},"parameters":{"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":true,"description":"Stable 8-128 character key. Reusing it with the same request returns the same run; reusing it with different input returns HTTP 409.","schema":{"type":"string","minLength":8,"maxLength":128,"pattern":"^[A-Za-z0-9._:-]+$"}}}},"x-largequant":{"idempotency_header":"Idempotency-Key","webhook_delivery":"signed, retryable and replayable","oauth_path":"enterprise deployment option","mcp_uses_shared_services":true,"lqbench_modes":["closed","standard_tools","native","agentic","formal"],"lqbench_task_suites":["mathematical_reasoning","statistics_uncertainty","finance_economics","science","engineering","operations","agentic_quant","formal_verification"],"lqbench_score_dimensions":["correctness","reproducibility","robustness","grounding","calculation_integrity","units_dimensions","uncertainty_calibration","tool_discipline","constraint_adherence","efficiency","outcome_quality"],"runtime_guard_outcomes":["allow","block","challenge","require_evidence","require_human","recompute","defer"],"authorization_fallback_header":"X-LargeQuant-API-Key","omni_contract":"LQOMNI\/1.0","omni_worlds":["finance","risk","treasury","physics","molecular","biology","scientific-discovery"],"developer_identity_contract":"LQDEV\/1.0","credential_modes":["test","live"],"developer_scopes":["omni.read","omni.run","omni.finance.run","omni.risk.run","omni.treasury.run","omni.physics.run","omni.molecular.run","omni.biology.run","omni.scientific-discovery.run","omni.runs.cancel","evidence.read","webhooks.test"]}}