{"openapi":"3.1.0","info":{"title":"Agent Approval Gateway API","version":"1.5.0","description":"Call this agent before another agent sends, approves, publishes, buys, escalates, or changes anything."},"servers":[{"url":"https://claim-verification-agent-mvp.muhammandahmad158609.workers.dev"},{"url":"https://claim-verification-agent-sepolia.muhammandahmad158609.workers.dev"}],"paths":{"/health":{"get":{"summary":"Health check"}},"/.well-known/agent.json":{"get":{"summary":"Agent card"}},"/.well-known/agent-card.json":{"get":{"summary":"Agent card alias"}},"/approve":{"post":{"summary":"Primary action approval endpoint","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalRequest"}}}},"responses":{"200":{"description":"Approval response"},"400":{},"402":{},"409":{}}}},"/check":{"post":{"summary":"Backward-compatible approval alias","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalRequest"}}}},"responses":{"200":{"description":"Approval response"},"400":{},"402":{},"409":{}}}}},"components":{"schemas":{"Source":{"type":"object","required":["title","url","snippet"],"properties":{"title":{"type":"string"},"url":{"type":"string","format":"uri"},"snippet":{"type":"string"}}},"ApprovalRequest":{"type":"object","properties":{"action":{"type":"string","minLength":3},"claim":{"type":"string","minLength":3},"content":{"type":"string","minLength":3},"mode":{"type":"string","enum":["web","scientific"],"default":"web"},"domain":{"type":"string"},"stakes":{"type":"string","enum":["low","medium","high","critical"],"default":"medium"},"target":{"type":"string"},"system":{"type":"string"},"context":{"type":"object"}}},"ApprovalResponse":{"type":"object","required":["decision","confidence","reason","sources","risk_flags","checked_at","verdict","rationale"],"properties":{"decision":{"type":"string","enum":["allow","deny","review"]},"confidence":{"type":"number","minimum":0,"maximum":1},"reason":{"type":"string"},"sources":{"type":"array","items":{"$ref":"#/components/schemas/Source"}},"risk_flags":{"type":"array","items":{"type":"string"}},"checked_at":{"type":"string","format":"date-time"},"recommended_next_step":{"type":"string"},"verdict":{"type":"string","enum":["supported","contradicted","uncertain"]},"rationale":{"type":"string"}}}}}}