Mandate · Reference
Policy field catalog
A policy rule's conditions read fields in three layers: the standard catalog, Your fields and Any field. GET /v1/account/policies/fields returns them for one audience, with the operators each type takes; a person's own rules read GET /v1/personal/policies/fields.
The console's rules builder and the rules embed's Advanced view list the standard fields under the same groups (Order, Agent, Approval, Cart, Location and so on), and no two fields of an audience share a label.
| Audience | audience | Document |
|---|---|---|
| A person's own rules | person | / |
| A store's checkout rules | store | / |
| An agent builder's policy | builder | / |
| Attest claims risk | claims | / |
| Attest capture rules | capture | / |
Verified and as reported
Verified fields are values Provenance checks itself: the signed amount, the agent's identity, the device tier, the payload hash. As reported fields are what the agent, store or person sent; a rule on one is only as good as what the sender says, and the builder labels it that way.
Operators by type
| Type | Operators |
|---|---|
| number | gt, gte, lt, lte, eq, ne |
| string | eq, ne, in, matches, in_, not_ |
| boolean | eq |
| list | contains, contains_ |
| time | eq, ne, in, gt, gte, lt, lte |
Standard fields
A standard fact is written { "fact": "<name>", "op", "value" }. A request field is written { "fact": "field", "path": "<path>", "op", "value" }.
The builder lists a store's fields in groups, in this order: Order, Agent signature, Agent behaviour, Payment (with Stripe risk scores under their own heading), Store, Time and Person. Each field in the catalog names its group.
A person's rules
| Field | Condition | Type | Trust |
|---|---|---|---|
| Order total | order. | number | Verified |
| Currency | order. | string | As reported |
| Category | order. | list | As reported |
| Store | store | string | Verified |
| Agent | agent_ | string | Verified |
| Time (hour) | time. | time | Verified |
| Day of week | time. | time | Verified |
The hour and weekday are in the document's timezone (an IANA name such as America/Chicago). A person's rules read these fields only, and their outcomes are ask or block.
A store's checkout rules
| Field | Condition | Type | Trust |
|---|---|---|---|
| Order total | order. | number | Verified |
| Currency | order. | string | As reported |
| Category | order. | list | As reported |
| Items | order. | number | As reported |
| Agent verified | agent. | boolean | Verified |
| Visitor kind | agent. | string: signed_, declared_, suspected_, likely_ or unknown | Verified |
| Covered by | checkout. | string: token, mandate, reused or none | Verified |
| Bot score | agent. | number | Verified |
| Agent platform | agent. | string: openai, anthropic, google, microsoft, apple, perplexity, meta or common_ | As reported |
| Platform named by | agent. | string: signed or declared | As reported |
| Card network agent program | agent. | string: visa_, visa_ or mastercard_ | Verified |
| Signed for | agent. | string: browse, pay or general | Verified |
| Name on the agent's card | agent. | string | Verified (as its signer published it) |
| Agent run by | agent. | string: direct or intermediary | As reported |
| Card network sent the buyer's details | agent. | boolean | Verified |
| Why it's an agent order | agent. | list: channel, visit, network_, shared_, agentic_ | As reported |
| Agent commerce protocol | agent. | string: ucp (present only on a UCP checkout) | As reported |
| UCP platform | ucp. | string: the host of the platform's profile URL | As reported |
| UCP platform signed the request | ucp. | boolean | Verified |
| Platform shows our approval step | ucp. | boolean | As reported |
| AP2 checkout mandate | ucp. | string: accepted, refused or absent | Verified |
| Who finished the checkout | ucp. | string: person or agent (present only on your checkout page after a UCP escalation) | As reported |
| Paid with a Stripe shared payment token | payment. | boolean (present only when checked on your Stripe) | Verified |
| Paid with a Stripe shared payment token (as reported) | payment. | boolean | As reported |
| Paid with a card network agent token (as reported) | payment. | boolean | As reported |
| Paid with a network token | payment. | boolean | Verified |
| Agent's Stripe profile | payment. | string | Verified |
| Stripe risk scores | payment., ., ., ., . | number | Verified |
| Bot likelihood score) | agent. | number (0 to 100) | As reported |
| Shopper account age (days) | merchant. | number | As reported |
| Shipping to | merchant. | string | As reported |
| Gift card amount | merchant. | number | As reported |
| Billing country | billing. | string (ISO 3166-1, US) | As reported |
| Billing region | billing. | string (ISO 3166-2, US-OR) | As reported |
| Customer's answer (after approval) | approval. | string: approved or declined | Verified |
| Passkey age, in days (after approval) | approval. | number (two places; a passkey made on the approval's page is 0) | Verified |
| Approval location | approval. | string: matches_, differs, unavailable or no_ | As reported |
| Device time zone matches billing | approval. | boolean | As reported |
| Network country matches billing | approval. | boolean | As reported |
| Network region matches billing | approval. | boolean | As reported |
| Network city matches billing | approval. | boolean | As reported |
| Distance from billing (km) | approval. | number | As reported |
| Hour (UTC) | hour_ | time | Verified |
| Day of week (UTC) | weekday_ | time | Verified |
The ucp.* fields come from a UCP checkout assessment. None of them alone approves an order; an accepted AP2 mandate counts only through your outside confirmations.
An agent builder's policy
| Field | Condition | Type | Trust |
|---|---|---|---|
| Order total | order. | number | Verified |
| Currency | order. | string | As reported |
| Category | order. | list | As reported |
| Items | order. | number | As reported |
| Agent | agent_ | string | Verified |
| Agent platform | agent. | string: a platform name, from the agent's request | As reported |
| Platform named by | agent. | string: signed or declared | As reported |
| Action type | action_ | string | As reported |
| Tool | tool | string | As reported |
| Amount | transaction_ | number | As reported |
| Supplier | counterparty | string | As reported |
| Mandate | mandate_ | string | As reported |
| Device tier | device_ | string | Verified |
| Face or fingerprint used | biometric_ | boolean | Verified |
| Hardware-backed phone | hardware_ | boolean | Verified |
| Action matches what was approved | payload_ | boolean | Verified |
| Hour (UTC) | hour_ | time | Verified |
| Day of week (UTC) | weekday_ | time | Verified |
An agent builder's catalog also lists spend and request limits, counted from the account's own approved requests. Each is a velocity condition with its velocity parameters, is on Pro and above, and counts requests before this one:
| Field | Condition | Trust |
|---|---|---|
| Spend by this agent this month | { "fact": "velocity", "metric": "amount_ | As reported |
| Spend by the account this month | metric: amount_, window: month, per: account | As reported |
| Spend by the account in the last 24 hours | metric: amount_, window: 24h, per: account | As reported |
| Requests by this agent in the last hour | metric: verify_, window: 1h, per: agent | Verified |
| Requests by the account in the last hour | metric: verify_, window: 1h, per: account | Verified |
month is the calendar month in UTC, from the 1st at 00:00. Spend adds the amounts agents reported on approved requests; requests are counted by Provenance. The policies page lists the other facts an agent policy reads, such as canaries and external risk.
Cart fields for stores and agent builders
Both catalogs also list the cart's own fields as request fields, read from the order a checkout or a verify carries:
| Field | Path | Type |
|---|---|---|
| Order ID | order. | string |
| Order total (minor units) | order. | number |
| Currency | order. | string |
| Merchant ID | order. | string |
| Store | order. | string |
| Delivery address digest | order. | string |
| Item SKU | order. | string |
| Item name | order. | string |
| Item quantity | order. | number |
| Item price (minor units) | order. | number |
| Adjustment kind | order. | string |
| Adjustment label | order. | string |
| Adjustment amount (minor units) | order. | number |
| Delivery method | order. | string |
| Earliest delivery | order. | string |
| Latest delivery | order. | string |
| Return policy | order. | string |
Every cart field is as reported. The paths in this table are standard fields and work on every plan; a metadata. path is one of Your fields, and any other path is an Any field path.
Claims risk
| Field | Condition | Type | Trust |
|---|---|---|---|
| Claim type | claim_ | string | As reported |
| State | state | string | As reported |
| Case type | case_ | string | As reported |
| Has GPS | gps_ | boolean | Verified |
| Has face or fingerprint | biometric_ | boolean | Verified |
| Captured on an attested device | attested | boolean | Verified |
Capture rules
A capture rule reads one shot at a time, and takes no Your fields and no Any field paths. <ref> names a reference address by its kind; the full list is in capture rules.
| Field | Condition | Type | Trust |
|---|---|---|---|
| At least distance to an address (km) | capture. | number | As reported |
| Distance to an address (km) | capture. | number | As reported |
| Time zone matches an address | capture. | boolean | As reported |
| Network country, region or city matches an address | capture., capture., capture. | boolean | As reported |
| Network country, region | capture., capture. | string | As reported |
| VPN or proxy, cloud network | capture., capture. | string, boolean | Verified |
| Has GPS, GPS accuracy (m), mock location | capture., capture., capture. | boolean, number, boolean | As reported |
| GPS from | capture. | string | Verified |
| OS, OS attested | capture., capture. | string, boolean | Verified |
| OS version, clock offset (s), photo metadata consistent | capture., capture., capture. | string, number, boolean | As reported |
| Device tier, opened in | capture., capture. | string | Verified |
| Screen or print, risk score | capture., capture. | string, number | Verified |
| Document type, document accepted | capture., capture. | string, boolean | Verified |
One registry for every product
Every fact any product's rules read is declared once, in the fact registry, and each audience's catalog is a view of it. Each standard field the registry declares carries a registry block:
| Field | What it says |
|---|---|
type | string, number, boolean, list, time, probability (0 to 1), score (with a range) or outcome |
unit, range | A number's unit (minor_, seconds, count, ratio and others) and its lowest and highest value |
group | The registry's group: order, customer, agent, approval, network, run and others |
availability | always, when_, needs_ (with needs), plan or phase (with phase) |
provider, tier | What supplies the value, and what reading it costs: 0 the request and token, 1 our own records, 2 a network call, 3 a model call |
sensitivity | none, personal or sensitive |
replay | How a backtest gets the value for an earlier request (recorded for a value kept with the decision) |
show | builder (in the picker) or advanced (under More) |
An agent builder's catalog also lists the facts verify reads that the builder didn't offer before: the approval facts (approval.passkey, approval.credential_age_s and the rest, which have a value once a person has approved), the network signals (network.agent.*, network.passkey.*), takeover risk (agent.takeover_risk), the run facts (run.*), the order facts (order.skus, order.channel), the customer facts and the counterparty facts.
The customer is the person or company that places an order. The customer facts are customer.company and customer.rating; rules saved with their earlier names (order.buyer_company, order.buyer_rating) are rewritten by the fact_names migration (POST /v1/account/policies/migrations/run with { "system": "fact_names" }), which renames them in every version and checks that each rewritten rule set decides the same on your recent requests.
Your fields
Available on Pro, Growth and Enterprise
Your fields are the custom metadata keys your requests carry, found automatically. Provenance keeps each key's path and type from the last 90 days, up to 200 keys per account and 3 levels deep, and never stores a value in the catalog. A rule reads one as { "fact": "field", "path": "metadata.cost_center", "op": "eq", "value": "research" }. Your fields are as reported.
Any field
Available on Growth and Enterprise
An Any field condition reads any other path in the request, nested ones included:
| Rule | Value |
|---|---|
| Path | Up to 6 dotted names of letters, digits and _ |
| Lists | [] after a name reads every element, at most once in a path, such as order. |
items | any (the default): one element matching is enough; all: every element must match |
| Operators | eq, ne, gt, gte, lt, lte, in, matches, contains, contains_ |
On a verify the request is { payload, context, order, metadata }: the token's action_payload, the verify context, the payload again as order when it is cart-shaped, and its metadata. On a checkout assessment it is { order, metadata } from the cart. A path that isn't there doesn't match. Simulate passes the same object as request.