Documentation
Approval Flow & Human Review

Human Approval & Safety Review

[← Back to Docs](/docs)

AI Safety Gate approvals are a human-in-the-loop safety checkpoint.

Your app never “guesses” its way past a WARN.

The three outcomes

  • PASS → continue automatically.
  • WARN → pause and wait for human approval.
  • BLOCK → stop permanently.

What happens on `WARN`

When you receive WARN, your app must:

  • Pause execution before the irreversible step.
  • Poll for approval.
  • Resume only after polling returns { "approved": true }.

Approval polling requires the approval token to be sent in headers (X-Approval-Token or Authorization: Bearer ...).

Important clarifications:

  • Approval happens outside your app.
  • Customers do not approve actions inside their own execution flow.
  • No approval means no continuation.

Timeouts and failures

  • If approval never comes, your app must stop (do not execute).
  • If polling fails, your app must stop (do not execute).
  • A timeout is not approval.

Approvals expire automatically; expired approvals must be treated as not approved.

Disclaimer
This documentation is provided for general information only. It is not legal advice, not a guarantee of compliance, and not a substitute for your own security review. You are responsible for evaluating and meeting any legal, regulatory, and contractual obligations applicable to your use case.