{"uid":"cap_KXJxoxjFU_ICBzgDqSo33","slug":"capi2-agent-commerce-action-notary-158c76cd","name":"CAPI2 Agent Commerce - Action Notary","description":"Programmable authority checks and tamper-evident receipts for autonomous agents, sold through sustainable x402 commerce.","url":"https://capi2-agent-commerce.vandurmedries.workers.dev/v1/action-notary","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"action":{"type":"object"},"evidence":{"type":"array","maxItems":20},"authority":{"type":"object"}}},"responseSchema":{"type":"json","example":{"decision":"allow","integrity":{"action_sha256":"...","evidence_sha256":"...","authority_sha256":"..."},"receipt_id":"an_..."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OkPhCw0w_EQ8gn2HJ1seW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs programmable authority checks on agent actions and returns tamper-evident SHA-256 receipts with allow/deny decisions.","exampleAgentPrompt":"Before you execute that transfer action, run it through the action notary — pass the action details, my authority credentials, and any supporting evidence so we get an allow-or-deny decision and a tamper-evident receipt ID we can keep for audit purposes.","exampleUseCases":[{"title":"Pre-execution authorization for financial transfers","prompt":"I need you to check whether this payment action is authorized before you send it — submit the transaction details as the action, include my delegation token as the authority, and give me back the receipt ID so I have proof it was cleared."},{"title":"Audit trail for multi-agent pipeline steps","prompt":"Every time an agent in our pipeline completes a step, I want you to notarize it — send the completed action object and the evidence logs to the action notary and store the receipt ID alongside the step record so we have an immutable audit trail."},{"title":"Authority enforcement for sensitive data access","prompt":"Before pulling that customer record, verify the agent has authority to access it — send the data-access action and the agent's authority object to the notary, and only proceed if the decision comes back as allow."}],"resultDescription":"A JSON object containing a 'decision' field ('allow' or 'deny'), an 'integrity' object with SHA-256 hashes of the action, evidence, and authority inputs, and a unique 'receipt_id' prefixed with 'an_' serving as a tamper-evident audit record.","failureModes":["Payment not attached or insufficient — endpoint returns 402 requiring x402 USDC payment","Invalid or malformed action/evidence/authority objects — returns validation error","Evidence array exceeds 20 items — rejected due to maxItems constraint","Authority check fails policy — decision returned as 'deny' rather than an error","Network or worker timeout on Cloudflare edge — transient 5xx error","Duplicate or replayed requests may generate new distinct receipt IDs since endpoint is not idempotent"],"whenToPreferThis":"Choose this endpoint when you need both an access-control decision and a cryptographic, tamper-evident receipt in a single call — particularly in autonomous agent workflows where auditability and non-repudiation matter. Prefer it over simple auth checks when you need SHA-256 integrity proofs over the action, evidence, and authority inputs, or when downstream compliance requires a receipt ID. Best suited for agentic pipelines that must demonstrate authorized execution to third parties.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:35:32.167Z","isFirstParty":false}