GET /results/:idemKey.
Auth
Per-resource caller auth is optional. When enabled, routes require a caller token bound to the operation’sresourceId via Authorization: Bearer <token> or X-Resource-Auth. It is fail-closed in production. See environment.
Health
Returns200.
Returns 200 when ready, 503 otherwise.
POST /verify
The reserve-before-run guard. Recovers the signer, checks the un-reserved balance and the nonce under a per-buyer lock, then reserves the cap. A handler must never run before this returns valid.insufficient_balance, nonce_used, bad_signature, expired, or over_cap (a spend cap tripped).
POST /release
Releases a reservation. Records a strike only whenstrikeReason is present.
POST /settle
Debits the buyer through the relayer and splits inline. Handles both the escrow and exact schemes. Idempotent: a reservation must precede a settle, and a repeated settle returns the cached receipt. The facilitator debitsmin(amount, cap); the contract re-enforces amount <= maxAmount on-chain. Settling without a prior reservation returns 409 no_reservation.
The on-chain debit transaction hash. Viewable on the explorer.
GET /results/:idemKey
The exactly-once recovery path. Returns the persisted response and receipt within a 24h TTL.404 once the TTL has passed or if the key was never settled.
GET /revenue/:resourceId
Aggregated revenue for a resource. Amounts are base-unit strings.The relayer signs on-chain debits with a per-signer nonce manager. Gas on Arc is paid in USDC. See exactly-once settlement.