{"uid":"cap_PEJLtqE--mlcpmKykD-00","slug":"capi2-agent-commerce-milestone-verify-b15e356a","name":"CAPI2 Agent Commerce – Milestone Verify","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/milestone-verify","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"criteria":{"type":"array","maxItems":20,"minItems":1},"evidence":{"type":"array","maxItems":40}}},"responseSchema":{"type":"json","example":{"decision":"pass","manual_review":false,"criteria_failed":0,"criteria_passed":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8vbSBCJ9xt1ipr3IRYBJX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates a set of criteria against provided evidence to produce a pass/fail decision with a tamper-evident receipt for autonomous agent milestone verification.","exampleAgentPrompt":"Check whether the following evidence satisfies my 3 approval criteria for this agent milestone — criteria: [budget under $500, deliverable submitted, no errors detected] and evidence: [invoice for $450, file link, zero-error log] — and give me a pass/fail decision with a tamper-evident receipt.","exampleUseCases":[{"title":"Autonomous agent task gating","prompt":"Before releasing the next step to my AI agent, verify it met these 2 criteria — output must be non-empty and latency must be under 2 seconds — using the logs and output it submitted as evidence."},{"title":"Freelance deliverable acceptance","prompt":"I need to check if the 4 acceptance criteria for this contractor milestone are all satisfied based on the submitted deliverables — run the verification and tell me how many passed and whether any need manual review."},{"title":"Agent payment unlock check","prompt":"Before I authorize the x402 payment to this agent, verify the 5 completion criteria against the evidence bundle it provided and give me a tamper-evident pass or fail decision."}],"resultDescription":"Returns a JSON object containing a 'decision' field ('pass' or 'fail'), a boolean 'manual_review' flag indicating if human review is needed, and integer counts for 'criteria_passed' and 'criteria_failed', effectively serving as a tamper-evident receipt of the verification result.","failureModes":["Empty or malformed criteria array returns a 400-level error","Evidence array exceeding 40 items rejected","Ambiguous or non-evaluable criteria may trigger manual_review=true instead of a clean pass/fail","Network timeouts on the Cloudflare Workers edge layer","Payment not fulfilled (x402) results in 402 response before verification runs"],"whenToPreferThis":"Choose this endpoint when you need a structured, auditable pass/fail decision over a set of criteria with evidence — especially in autonomous agent pipelines where tamper-evident receipts are required for downstream actions like releasing payments or unlocking workflow steps. It is ideal for x402 commerce flows where verifiable milestone completion is a prerequisite.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:37:23.731Z","isFirstParty":false}