{"openapi":"3.1.0","info":{"title":"agent-business","version":"0.3.0"},"paths":{"/code-research":{"post":{"summary":"Code Research","operationId":"code_research_code_research_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResearchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Code Research Code Research Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify":{"post":{"summary":"Verify Work","operationId":"verify_work_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Verify Work Verify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/code-research":{"get":{"summary":"Demo Code Research","operationId":"demo_code_research_demo_code_research_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Demo Code Research Demo Code Research Get"}}}}}}},"/demo/verify":{"get":{"summary":"Demo Verify","operationId":"demo_verify_demo_verify_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Demo Verify Demo Verify Get"}}}}}}},"/receipts/verify":{"post":{"summary":"Receipts Verify","description":"FREE, never paywalled: independently verify an attestation we issued.\n\necrecovers the EIP-191 signature over the canonical attestation JSON\nand compares it to our published verifier address.","operationId":"receipts_verify_receipts_verify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReceiptRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Receipts Verify Receipts Verify Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watchtower/targets":{"get":{"summary":"Watchtower Targets","description":"FREE: watched services with their latest probe verdict.","operationId":"watchtower_targets_watchtower_targets_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Watchtower Targets Watchtower Targets Get"}}}}}}},"/watchtower/report":{"post":{"summary":"Watchtower Report","description":"Latest signed SLA report for one watched service (substring match).","operationId":"watchtower_report_watchtower_report_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchtowerRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Watchtower Report Watchtower Report Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/spend-check":{"post":{"summary":"Spend Check","description":"Pre-payment counterparty check: should you pay this payee?","operationId":"spend_check_spend_check_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpendCheckRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Spend Check Spend Check Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/judge":{"post":{"summary":"Judge Output","description":"Grade an agent output against a rubric; sign the score.","operationId":"judge_output_judge_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JudgeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Judge Output Judge Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/policy":{"get":{"summary":"Policy","description":"Machine-readable service policy (linked from llms.txt).","operationId":"policy_policy_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Policy Policy Get"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Health Health Get"}}}}}}},"/.well-known/x402":{"get":{"summary":"Well Known X402","operationId":"well_known_x402__well_known_x402_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Well Known X402  Well Known X402 Get"}}}}}}},"/.well-known/agent.json":{"get":{"summary":"Agent Registration File","description":"ERC-8004 agent registration file, referenced by our on-chain agentURI.\n\nSpec shape: https://eips.ethereum.org/EIPS/eip-8004 (registration file).","operationId":"agent_registration_file__well_known_agent_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Agent Registration File  Well Known Agent Json Get"}}}}}}},"/llms.txt":{"get":{"summary":"Llms Txt","operationId":"llms_txt_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/metrics":{"get":{"summary":"Metrics","operationId":"metrics_metrics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"JudgeRequest":{"properties":{"output":{"type":"string","maxLength":50000,"title":"Output"},"rubric":{"items":{"$ref":"#/components/schemas/RubricItem"},"type":"array","maxItems":20,"minItems":1,"title":"Rubric"},"context":{"anyOf":[{"type":"string","maxLength":20000},{"type":"null"}],"title":"Context"}},"type":"object","required":["output","rubric"],"title":"JudgeRequest","description":"Body for POST /judge."},"ReceiptRequest":{"properties":{"attestation":{"additionalProperties":true,"type":"object","title":"Attestation"},"signature":{"type":"string","minLength":1,"title":"Signature"}},"type":"object","required":["attestation","signature"],"title":"ReceiptRequest","description":"Body for POST /receipts/verify: an attestation we allegedly issued."},"ResearchRequest":{"properties":{"query":{"type":"string","maxLength":2000,"minLength":1,"title":"Query"},"context":{"anyOf":[{"type":"string","maxLength":4000},{"type":"null"}],"title":"Context"}},"type":"object","required":["query"],"title":"ResearchRequest"},"RubricItem":{"properties":{"criterion":{"type":"string","maxLength":1000,"minLength":1,"title":"Criterion"},"weight":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Weight"}},"type":"object","required":["criterion"],"title":"RubricItem"},"SpendCheckRequest":{"properties":{"payTo":{"type":"string","maxLength":300,"minLength":1,"title":"Payto"},"amount_usd":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Amount Usd"}},"type":"object","required":["payTo"],"title":"SpendCheckRequest","description":"Body for POST /spend-check."},"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"},"VerifyRequest":{"properties":{"job":{"additionalProperties":true,"type":"object","title":"Job"},"spec":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Spec"}},"type":"object","required":["job"],"title":"VerifyRequest","description":"Verification Oracle request. See docs/VERIFY.md for job payloads."},"WatchtowerRequest":{"properties":{"service":{"type":"string","maxLength":200,"minLength":1,"title":"Service"}},"type":"object","required":["service"],"title":"WatchtowerRequest","description":"Body for POST /watchtower/report."}}}}