Get the policy a capability's requests must declare right now
Tells an agent what a request for a capability must declare and carry right now: the policy name and version, the policy’s description, and its signals (every fact the rules read with its type, the facts that must equal a value of the in…
Authorizations
Caller API key issued by scripts/generate-api-key.ts. Sent as Authorization: Bearer . Verified against a stored SHA-256 hash in constant time by packages/api/src/auth/StaticKeyAuthenticator.ts. Required on every route not listed as exempt in this document's top-level description. See /api-reference/authentication.
Query Parameters
The action, as in intent.action. The sandbox's only action is sandbox:receipt; production answers for its own capabilities, such as erp:invoice-pay.
Response
What to declare and carry.
The policy author's description for people, or null.
What a request under this policy must carry.
Present only when the policy requires it. Your key needs a current authority grant for this capability, made through maker checker (/authority-grants), and each request must be within the grant's limits.