# CAPI2 Agent Commerce – Milestone Verify

> CAPI2 Agent Commerce – Milestone Verify is a paid API for AI agents from capi2-agent-commerce.vandurmedries.workers.dev, paid per call via x402, $0.15/call, status unknown (last checked 2026-09-14).

Evaluates a set of criteria against provided evidence to produce a pass/fail decision with a tamper-evident receipt for autonomous agent milestone verification.

## Facts

- Endpoint: POST https://capi2-agent-commerce.vandurmedries.workers.dev/v1/milestone-verify
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/capi2-agent-commerce-milestone-verify-b15e356a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PEJLtqE--mlcpmKykD-00

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability capi2-agent-commerce-milestone-verify-b15e356a -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Programmable authority checks and tamper-evident receipts for autonomous agents, sold through sustainable x402 commerce.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "criteria": {
   "type": "array",
   "maxItems": 20,
   "minItems": 1
  },
  "evidence": {
   "type": "array",
   "maxItems": 40
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "decision": "pass",
  "manual_review": false,
  "criteria_failed": 0,
  "criteria_passed": 1
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/capi2-agent-commerce-milestone-verify-b15e356a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from capi2-agent-commerce.vandurmedries.workers.dev](https://www.zero.xyz/host/capi2-agent-commerce.vandurmedries.workers.dev/llms.txt)
