{"uid":"cap_v97bdfivxnvuTIV2y0YLn","slug":"agent-economy-evidence-verifier-db3e7221","name":"Agent Economy Evidence Verifier","description":"Deterministic JSON evidence checks with signed verification evidence","url":"https://agent-economy.kgninja.dev/verify-evidence?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["request","spend_policy"],"properties":{"request":{"type":"object","required":["client_request_id","evidence","assertions"],"properties":{"evidence":{"type":"object","required":["media_type","content_base64"],"properties":{"media_type":{"type":"string","const":"application/json"},"content_base64":{"type":"string","maxLength":87384,"contentEncoding":"base64","contentMediaType":"application/json"}},"additionalProperties":false},"assertions":{"type":"array","items":{"oneOf":[{"type":"object","required":["op","expected_hex"],"properties":{"op":{"type":"string","const":"sha256_equals"},"expected_hex":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"additionalProperties":false},{"type":"object","required":["op","path"],"properties":{"op":{"type":"string","const":"json_pointer_exists"},"path":{"type":"string","maxLength":512}},"additionalProperties":false},{"type":"object","required":["op","path","expected"],"properties":{"op":{"type":"string","const":"json_pointer_equals"},"path":{"type":"string","maxLength":512},"expected":{}},"additionalProperties":false},{"type":"object","required":["op","path","expected_type"],"properties":{"op":{"type":"string","const":"json_type_is"},"path":{"type":"string","maxLength":512},"expected_type":{"enum":["null","boolean","number","string","array","object"],"type":"string"}},"additionalProperties":false}]},"maxItems":16,"minItems":1},"client_request_id":{"type":"string","pattern":"^[A-Za-z0-9._:-]+$","maxLength":64,"minLength":1}},"additionalProperties":false},"spend_policy":{"type":"object","required":["policy_version","max_amount_atomic","network","asset","pay_to"],"properties":{"asset":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"pay_to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$"},"network":{"enum":["eip155:84532","eip155:8453"],"type":"string"},"policy_version":{"type":"string","const":"agent-economy/precheck-policy/2.0"},"max_amount_atomic":{"type":"string","pattern":"^[1-9][0-9]*$","maxLength":16}},"additionalProperties":false},"precheck_receipt_digest":{"type":"string","pattern":"^sha256:[a-f0-9]{64}$"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"receipt":{"delivery":"completed","cost_basis":"conservative_upper_bound","receipt_id":"rcpt_example","price_paid_microusd":10000,"paid_verification_binding":{"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","state":"delivered","pay_to":"0x4D7d842536De9Eb491AE2300126B3CDdE7B0aDE3","network":"eip155:8453","quote_id":"qte_example","expires_at":"2026-08-08T00:05:00.000Z","request_hash":"sha256:f9762330c1c9fadc8f7126e01e3b823c50297329de5736d6c7408a5984c1cf5e","binding_digest":"sha256:ba1748b1d09b6425af27aef50ab4dfc485c4126f59747075f8e94320ef42b12e","policy_version":"agent-economy/precheck-policy/2.0","refusal_reason":null,"schema_version":"agent-economy/paid-verification-binding/1.0","evidence_digest":"sha256:f0dba6a8aba27d498fd40732f4f804160f2d82aa4247fd2335ef8f33b751dbfb","paid_receipt_id":"rcpt_example","price_cap_atomic":"10000","discovery_survived":true,"quoted_amount_atomic":"10000","precheck_receipt_digest":"sha256:46dcfeb9495af1fd591447414866007f0915b8f5fdc20137091e4f4dabd80140"},"variable_cost_upper_bound_microusd":1234,"contribution_margin_lower_bound_microusd":8766},"evidence":{"signature":{"alg":"Ed25519","kid":"https://agent-economy.kgninja.dev/agent.json#evidence-key-1","value_b64url":"ZXhhbXBsZQ"},"evidence_id":"evd_example","signed_payload_b64url":"ZXhhbXBsZQ"},"quote_id":"qte_example","request_hash":"sha256:f9762330c1c9fadc8f7126e01e3b823c50297329de5736d6c7408a5984c1cf5e","verification":{"checks":[{"op":"json_pointer_equals","index":0,"passed":true}],"outcome":"pass","executed_at":"2026-08-08T00:00:00.000Z","algorithm_version":"det-json-v1"},"transaction_id":"txn_example"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yiIN0n9Gr182N-jeZHkCP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs deterministic JSON-based evidence checks and returns signed verification proofs for submitted claims","exampleAgentPrompt":"Can you verify this JSON evidence payload and give me a signed proof confirming whether it checks out? Here's the data: {\"claimId\": \"abc-123\", \"value\": \"approved\", \"timestamp\": \"2025-01-15T10:00:00Z\"}.","exampleUseCases":[{"title":"Audit trail for agent decisions","prompt":"I need to verify this JSON record from our agent's last decision and get a signed attestation I can attach to the audit log — the payload is {\"agentId\": \"agent-7\", \"action\": \"approve\", \"amount\": 500, \"timestamp\": \"2025-06-01T09:00:00Z\"}."},{"title":"Smart contract evidence check","prompt":"Before we trigger the on-chain payout, can you run a deterministic evidence check on this JSON claim and return a signed verification result? The claim is {\"contractId\": \"c-991\", \"fulfillment\": \"delivered\", \"proofHash\": \"0xabc123\"}."},{"title":"Compliance verification for submitted data","prompt":"Our compliance system needs a signed verification of this evidence document — can you check it and return a proof? The JSON is {\"submissionId\": \"sub-456\", \"reportType\": \"quarterly\", \"status\": \"complete\"}."}],"resultDescription":"Returns a deterministic JSON response containing the evidence check result (pass/fail), signed verification evidence, and any relevant attestation metadata proving the outcome cryptographically.","failureModes":["Malformed or invalid JSON payload returns an error response","Missing required evidence fields cause validation rejection","Unsupported evidence schema version may result in an unrecognized-format error","Network timeout or service unavailability returns a connection error","Payment failure via x402 protocol results in 402 Payment Required before processing"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, signed, tamper-evident verification of JSON evidence — particularly in agentic pipelines, audit trails, or smart contract contexts where a cryptographic proof of the check result is required. Prefer this over generic validation endpoints when the signed attestation output matters as much as the pass/fail result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T14:10:14.270Z","isFirstParty":false,"canonicalSlug":"agent-economy-evidence-verifier-db3e7221"}