{"openapi":"3.1.0","info":{"title":"DCL Trust Oracle — AI Agent Safety Evaluator","description":"Pre-action safety gate for AI agents. Evaluates a proposed agent response or action before execution and returns a structured verdict (COMMIT / NO_COMMIT) with confidence, reasoning, and tamper-evident audit metadata. Use it before tool calls, code execution, financial workflows, or other high-impact actions to detect jailbreaks, prompt injection, unsafe instructions, policy violations, and output drift. Choose from fast, safety, jailbreak, quality, and strict evaluation modes. Pay per request via x402 — no API key or subscription required.","version":"1.0.0"},"paths":{"/.well-known/402index-verify.txt":{"get":{"summary":"Index 402 Verify","operationId":"index_402_verify__well_known_402index_verify_txt_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/x402":{"get":{"summary":"X402 Manifest","description":"Facilitator-agnostic discovery manifest — crawled by x402scan and similar\necosystem-wide explorers, independent of any one facilitator/CDP account.","operationId":"x402_manifest__well_known_x402_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/x402.json":{"get":{"summary":"X402 Manifest","description":"Facilitator-agnostic discovery manifest — crawled by x402scan and similar\necosystem-wide explorers, independent of any one facilitator/CDP account.","operationId":"x402_manifest__well_known_x402_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/evaluate/fast":{"get":{"summary":"Evaluate Get Fallback","operationId":"evaluate_get_fallback_evaluate_fast_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Evaluate Fast","operationId":"evaluate_fast_evaluate_fast_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluate/strict":{"get":{"summary":"Evaluate Get Fallback","operationId":"evaluate_get_fallback_evaluate_strict_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Evaluate Strict","operationId":"evaluate_strict_evaluate_strict_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluate/jailbreak":{"get":{"summary":"Evaluate Get Fallback","operationId":"evaluate_get_fallback_evaluate_jailbreak_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Evaluate Jailbreak","operationId":"evaluate_jailbreak_evaluate_jailbreak_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluate/safety":{"get":{"summary":"Evaluate Get Fallback","operationId":"evaluate_get_fallback_evaluate_safety_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Evaluate Safety","operationId":"evaluate_safety_evaluate_safety_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/evaluate/quality":{"get":{"summary":"Evaluate Get Fallback","operationId":"evaluate_get_fallback_evaluate_quality_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Evaluate Quality","operationId":"evaluate_quality_evaluate_quality_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvaluateResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"EvaluateRequest":{"properties":{"response":{"type":"string","title":"Response"},"policy":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Policy","default":"default"},"agent_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Id","default":"unknown"},"task_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Type","default":"unknown"}},"type":"object","required":["response"],"title":"EvaluateRequest"},"EvaluateResponse":{"properties":{"verdict":{"type":"string","title":"Verdict"},"confidence":{"type":"number","title":"Confidence"},"reason":{"type":"string","title":"Reason"},"tx_hash":{"type":"string","title":"Tx Hash"},"chain_index":{"type":"integer","title":"Chain Index"},"input_hash":{"type":"string","title":"Input Hash"},"policy_version":{"type":"string","title":"Policy Version"},"timestamp":{"type":"number","title":"Timestamp"},"drift_mode":{"type":"string","title":"Drift Mode"},"drift_score":{"type":"number","title":"Drift Score"}},"type":"object","required":["verdict","confidence","reason","tx_hash","chain_index","input_hash","policy_version","timestamp","drift_mode","drift_score"],"title":"EvaluateResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}