Documentation
Polling & retries

Polling & retries

After WARN, you must wait for approval. Poll approval status and retry safely with backoff.

Preferred: poll from your backend with API key

text
GET /api/decisions/dec_.../approval
Authorization: Bearer <API_KEY>
json
{
  "decision_id": "dec_...",
  "approved": false
}

Alternative: poll with approval token

Use this only when you cannot safely store an API key. Approval tokens are short-lived.
text
GET /api/decisions/dec_.../approval
X-Approval-Token: appr_...
json
{
  "approved": false
}

Retry rules

  • Use exponential backoff for polling and retries.
  • Stop after a maximum wait time and do not execute.
  • If you need to re-validate, treat it as a new decision with a new decision_id.
Legal & Responsibility Notice
Summary
Informational only
Provided for general guidance. Not legal, compliance, security, or professional advice.
You control implementation
You are responsible for policies, prompts, integrations, workflows, and regulatory requirements.
Liability limitation
To the maximum extent permitted by law, the company disclaims liability for losses arising from use of this documentation or implementations based on it.