clearances_create
Creates a human approval request from a title and scope, returning a clearance with an approval URL so a person can approve or deny the action.
Instructions
Create a human approval request. Requires title and scope. Returns the clearance, including approval_url. The human opens that URL to approve or deny; poll clearances_get or pass callback_url to hear the decision.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Machine-readable scope (e.g. 'purchase:flight', 'transfer:usdc') | |
| title | Yes | Short description of what the agent wants to do (max 200 characters) | |
| metadata | No | Arbitrary key-value data attached to the clearance | |
| expires_in | No | Seconds until expiry (60–604800). The API defaults to 3600. | |
| description | No | Longer explanation shown to the human approver | |
| callback_url | No | Webhook URL the API calls when the clearance is decided | |
| budget_amount | No | Maximum amount the agent is requesting to spend | |
| budget_currency | No | Currency code. The API defaults to USD when this is omitted. | USD |