Documentation
Approval Timeouts
Approval Timeouts
Approval tokens are short-lived. If the token is missing, invalid, or expired, token polling returns approved: false.
What token polling returns on expiry
Endpoint:
GET /api/decisions/<decision_id>/approvaljson
{
"approved": false
}Recommended behavior
- Set a maximum wait time for approvals.
- If timeout is reached, do not execute.
- Re-run
/api/validateto obtain a fresh decision (and a fresh approval token if WARN is returned). - If WARN is returned again, request approval again for the 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.