Documentation Index
Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt
Use this file to discover all available pages before exploring further.
Route snapshot
A route snapshot is the record the registry stores for each payment-protected endpoint. It captures everything an agent needs to know to make a payment.Snapshot format
How snapshots are captured
payMiddleware captures the snapshot automatically. The description comes from your middleware configuration:
description, the registry entry will have no description — agents see only the route path and price.
Submitting manually
You can also submit a snapshot manually if you want to pre-register a route before it receives traffic:Snapshot fields
| Field | Type | Description |
|---|---|---|
route | string | Normalised route path |
method | string | HTTP method |
price | string | Price as decimal string |
token | string | Token symbol (USDC) |
chain | string | Chain name |
chainId | number | Chain ID |
protocols | string[] | x402, mpp, or both |
description | string | Human-readable description of what the route does |
walletId | string | Wallet receiving payment |
snapshotAt | string | ISO timestamp of last snapshot |
Related
- Registry overview — how registration works
- Query routes — discover routes
- Accept a payment — payMiddleware with description

