Documentation / Portal · Monetize · Rules
Pricing rules: who pays, where, how much.
Rules override the default policy for the paths and callers they match. The highest-priority match wins; the default policy handles everything else.
Last updated
The default policy
| Caller | Default |
|---|---|
| Human | Allow, free. |
| Known good crawler | Allow, free. |
| Verified agent matching a rule | Charge the rule price. |
| Agent, unlisted | Flag or charge a default price. |
| Unsigned automation | Flag (or charge if you opt in). |
| Spoofed disclosure | Block. |
| Bot with abuse signals | Block. |
Rule fields
| Field | Meaning |
|---|---|
| Scope | A path glob such as /articles/* or /api/v1/*. |
| Classification | Any, human, agent, or bot. |
| Trust | Any, verified agent, unresolved signer, spoofed, or none. |
| Agent identity | A key id, directory, or named agent, when relevant. |
| Decision | Allow, charge, or block. |
| Price | The USD price on a charge. |
| Priority | Higher wins when several rules match. |
Examples
| Scope | Match | Decision | Price |
|---|---|---|---|
/articles/* | Verified agent | Charge | $0.002 |
/api/v1/* | Agent, unlisted | Charge | $0.001 |
/sitemap.xml | Known crawler | Allow | — |
/* | Spoofed disclosure | Block | — |
What the rules do not do
They do not enforce. The gateway calls the decision endpoint and applies the result at your edge. They also do not guarantee payment: an IOU records a modeled charge, and x402 asks the agent to pay inline. The gateway guide covers the enforcement side.
Related
- Monetize setup — wallet and mode
- Policy simulator — test a rule
- Agent decisions — the decision payload
- Agent monetization — the full flow