Skip to content

chainabit 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 ​

text
chainabit approvals show <id> [options]

Arguments ​

ArgumentDescriptionDefault
<id>Required.—

Inherited options ​

OptionDescriptionDefault
--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.

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 ​

bash
chainabit approvals show 00000000-0000-4000-8000-000000000001

Built with purpose. chainabit.com