{"openapi":"3.1.0","info":{"title":"AIﾉアカリ☆ Result Receipt Auditor A2A API","version":"1.0.1","description":"Public no-auth A2A JSON-RPC endpoint that deterministically separates real external results from progress, tests, self-access, listings, deploys, and other non-receipt activity."},"servers":[{"url":"https://ai-akari.ai/a2a/result-receipt-auditor"}],"paths":{"/":{"get":{"operationId":"getA2AResultReceiptAuditor","summary":"Read the A2A endpoint descriptor","responses":{"200":{"description":"Endpoint descriptor","content":{"application/json":{"schema":{"type":"object"}}}}}},"post":{"operationId":"sendAuditMessage","summary":"Audit a claimed result through A2A","description":"Accepts A2A 1.0 SendMessage or legacy 0.3 message/send. The message may contain plain text or structured JSON data matching ResultAuditInput.","parameters":[{"name":"A2A-Version","in":"header","required":false,"schema":{"type":"string","enum":["1.0","0.3"]}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/A2ARequest"},"examples":{"latest":{"summary":"A2A 1.0 structured audit","value":{"jsonrpc":"2.0","id":"audit-1","method":"SendMessage","params":{"message":{"messageId":"message-1","role":"ROLE_USER","parts":[{"data":{"claim":"A third-party agent used the production tool.","metric_hint":"external_value_received","evidence":["external_actor_kind=third_party_agent","usage_event_id=provider-event-123"]}}]}}}},"legacy":{"summary":"A2A 0.3 plain-text audit","value":{"jsonrpc":"2.0","id":"audit-legacy-1","method":"message/send","params":{"message":{"messageId":"message-legacy-1","role":"user","parts":[{"kind":"text","text":"A pull request was merged and deployed."}]}}}}}}}},"responses":{"200":{"description":"A2A response containing the deterministic audit verdict","headers":{"A2A-Version":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/A2AResponse"}}}},"400":{"description":"Invalid JSON-RPC or unsupported method","content":{"application/json":{"schema":{"$ref":"#/components/schemas/A2AError"}}}}}}}},"components":{"schemas":{"ResultAuditInput":{"type":"object","properties":{"claim":{"type":"string"},"metric_hint":{"type":"string","enum":["cash_received","human_time_reclaimed","cost_avoided","risk_removed","obligation_completed","external_value_received","intended_recipient_response","unknown"]},"amount_jpy":{"type":"number"},"minutes_reclaimed":{"type":"number"},"evidence":{"type":"array","items":{"type":"string"}},"source":{"type":"string"}}},"A2APart":{"type":"object","additionalProperties":true,"properties":{"text":{"oneOf":[{"type":"string"},{"type":"object"}]},"data":{"oneOf":[{"type":"string"},{"$ref":"#/components/schemas/ResultAuditInput"}]}}},"A2AMessage":{"type":"object","required":["messageId","role","parts"],"properties":{"messageId":{"type":"string"},"role":{"type":"string"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/A2APart"}}}},"A2ARequest":{"type":"object","required":["jsonrpc","method","params"],"properties":{"jsonrpc":{"const":"2.0"},"id":{},"method":{"type":"string","enum":["SendMessage","message/send"]},"params":{"type":"object","required":["message"],"properties":{"message":{"$ref":"#/components/schemas/A2AMessage"}}}}},"AuditVerdict":{"type":"object","properties":{"schema_version":{"type":"string"},"verdict":{"type":"string","enum":["result","progress","insufficient_evidence","rejected"]},"counted_as_result":{"type":"boolean"},"metric_type":{"type":"string"},"reason":{"type":"string"},"missing_evidence":{"type":"array","items":{"type":"string"}},"next_verification_action":{"type":"string"}}},"A2AResponse":{"type":"object","required":["jsonrpc","result"],"properties":{"jsonrpc":{"const":"2.0"},"id":{},"result":{"type":"object","properties":{"message":{"type":"object","properties":{"messageId":{"type":"string"},"role":{"type":"string"},"parts":{"type":"array","items":{"type":"object","additionalProperties":true}}}}}}}},"A2AError":{"type":"object","properties":{"jsonrpc":{"const":"2.0"},"id":{},"error":{"type":"object","properties":{"code":{"type":"integer"},"message":{"type":"string"}}}}}}},"x-ai-akari":{"canonical_agent_card":"https://ai-akari.ai/a2a/result-receipt-auditor/.well-known/agent-card.json","agentfacts":"https://ai-akari.ai/a2a/result-receipt-auditor/agentfacts","signed_agentfacts":"https://ai-akari.ai/a2a/result-receipt-auditor/agentfacts?format=vc","mcp_equivalent":"https://ai-akari.ai/mcp","privacy":{"personal_data_required":false,"authentication_required":false,"request_content_persisted_by_public_route":false}}}