Deployments.ai Docs
Command reference

deployments approval

Human approval decisions

CommandSummary
deployments approval listList approval requests
deployments approval showShow an approval request
deployments approval approveApprove a pending tool call
deployments approval rejectReject a pending tool call

deployments approval list

List approval requests.

deployments approval list
  • Calls GET /v1/approvals (SDK listApprovals).
  • Needs an environment: --env or the saved context.
  • Paginated. --page-size sets the page size; pass the returned cursor as --cursor for the next page.
FlagTypeRequiredDefaultDescription
--cursorstring (cursor)Pagination cursor
--page-sizestring (number)Page size
--statusstringApproval status

Also accepts the global flags.

deployments approval show

Show an approval request.

deployments approval show <id> --run <run>
FlagTypeRequiredDefaultDescription
<id>positionalyesResource ID
--runstringyesRun ID

Also accepts the global flags.

deployments approval approve

Approve a pending tool call.

deployments approval approve <id> --run <run> --thread <thread>
FlagTypeRequiredDefaultDescription
<id>positionalyesResource ID
--runstringyesRun ID
--threadstringyesThread ID

Also accepts the global flags.

deployments approval reject

Reject a pending tool call.

deployments approval reject <id> --run <run> --thread <thread>
FlagTypeRequiredDefaultDescription
<id>positionalyesResource ID
--runstringyesRun ID
--threadstringyesThread ID

Also accepts the global flags.

On this page