How Signed Approval Tokens Work

Signed approval tokens add an extra verification step before an agent executes an approved action.

Stacksona Support

Last Update vor einem Tag


Who this article is for
Use this article if your organization requires stronger proof that an action was approved.
What signed approval tokens do
When signed approval tokens are enabled for an agent, approved decisions include a one-time token. The agent must validate the token with Stacksona Gate before running the gated tool.
When tokens are included
Tokens are included only when:
  • Signed approval tokens are enabled for the agent.
  • The decision is approved.
  • The approval is tied to a specific decision.
Tokens are not used for rejected decisions.
Required agent behavior
When an agent receives an approved decision:
  1. Read the approval_token from the decision response.
  2. Send the token back to Stacksona Gate for validation.
  3. Execute the gated tool only if validation succeeds.
  4. Treat validation failure as a deny condition.
  5. Log the failure and request a fresh decision if needed.
Validation endpoint

POST /api/agent/approvals/validate
Example body:

{
"task_id": "task-abc-123",
"signature": "approval_token_here"
}
Best practices
  • Do not validate approval tokens locally.
  • Do not reuse tokens.
  • Execute the approved action immediately after successful validation.
  • If validation fails, do not run the tool.
  • Alert an operator if token validation fails unexpectedly.


Was this article helpful?

0 out of 0 liked this article