Skip to main content
An authorization grant in Attexra is a signed capability token (k1.<payload>.<signature>) persisted in PostgreSQL and verifiable offline or via POST /v1/authorizations/verify.

Grant parameters

Decision outcomes

Every verification call returns one of four outcomes alongside a structured reasonCode and persisted decisionId:
  • allow — All grant constraints passed (within_scope).
  • require_approval — Action stays within hard ceiling but exceeds the human-approval policy threshold (approval_required).
  • deny — Invalid signature, revoked grant (grant_revoked_or_unknown), expired (grant_expired), scope/recipient/asset mismatch, or ceiling exceeded (amount_exceeds_limit).
  • indeterminate — Insufficient external context to establish compliance safely.

Instant revocation

Calling POST /v1/authorizations/:id/revoke updates the grant state immediately in PostgreSQL and emits an audit event. Subsequent verify calls reject the signed token with grant_revoked_or_unknown even before token expiry.