Approvals & Timeouts
Configure how approval requests behave and expire.
Approval Statuses
| Status | Description |
|---|---|
pending | Awaiting human decision |
approved | Human approved the action |
denied | Human rejected the action |
expired | No decision within timeout |
SDK Polling
Use waitForApproval(id) to poll until resolved. Default: poll every 2s, timeout after 5 minutes.
Use checkApproval(id) for a single status check without blocking.
Configuring Timeouts
Set timeout per rule in Dashboard → Rules → Edit Rule → Approval Settings. Default is 30 minutes.
⚠️ If no timeout action is configured, expired approvals default to
auto_block.