chainabit ai approvals show
Published (2.2.0)
This command is not included in Published (2.2.0). It is available in Development (2.2.0).
Development (2.2.0)
Show a pending approval
Synopsis
chainabit ai approvals show <id> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<id> | Required. | — |
Inherited options
| Option | Description | Default |
|---|---|---|
--resume | Resume most recent conversation | — |
--new | Force a new conversation | — |
--chat-model <key> | Model override for interactive chat session | — |
--workspace <id> | Workspace ID | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Shows one pending approval by its ID: what the agent asked to do, its status and when the request expires. Showing leaves the approval unchanged.
The workspace comes from --workspace, the environment or your local selection; with none of them the command stops and asks you to select a workspace.
If no pending approval has that ID, including one that was already approved or rejected, the command exits with a non-zero code and the error code approval_not_pending. This command does the same as chainabit approvals show.
Output
A labelled record with the ID, the requested tool, a summary of the request, the status and the deadline. With --json the output is a record with id, toolKey, argsSummary, status and expiresAt.
Authentication and permissions
You must be signed in. Approvals are scoped to the selected workspace, and the service checks your membership.
Examples
chainabit ai approvals show 00000000-0000-4000-8000-000000000001