Object ids

Every prefix the system emits, and what to store.

Every object carries a prefixed id. The prefixes appear throughout the API, the decision log, the exports and the signed verdicts, and they are stable: an id is never reissued and never changes shape.

PrefixObjectWhere you meet it first
agt_AgentPOST /v1/agents
mnd_MandatePOST /v1/mandates
dec_Decisionthe response to an authorization request
rev_Reviewa decision with verdict review
pol_Policy versionstamped on every decision and verdict
n_Nonceinside a signed verdict
esc_EscrowPOST /v1/escrows
whk_Webhook endpointPOST /v1/webhooks
evt_Webhook eventthe jti of a signed webhook event
req_API request (trace)X-Request-Id on every response

What to store

Store dec_ against your own order or invoice. It is the join key between your books and ours, it appears in every export, and it is the id support will ask for.

Store req_ when something goes wrong. It identifies one HTTP request in our trace, including requests that never produced a decision, which is exactly the case where the decision id does not exist yet.

The two are not interchangeable and answer different questions: dec_ asks what was decided, req_ asks what happened to a call.

On this page