Authorize an action
The call that goes in front of the spend. Runs the full policy evaluation, reserves budget against the budget, records an intent, and returns the decision.
Branch on the status code, not the body.
An intent is recorded even when the outcome is denied, so a refusal is auditable.
An agent with no active policy denies everything, with rule no_policy. This is
deliberate and fail-closed: write a policy before you expect an allow.
POST
Authorizations
Headers
Body
application/json
Response
allowed. Execute the action, then report the outcome with complete or fail. A cosignature is included when cosigning is configured.