Zum Hauptinhalt springen

Approve Pending Action

POST 

/v1/pending-actions/:action_id/approve

Approve a pending action: its call then runs once, AS YOU.

The call goes through the same tool and the same checks as if you had made it yourself, with your access and not the proposer's: if you may not do it, it is refused when it runs and the action ends failed:tool_refused. Send back the argumentsDigest you read: the approval covers that call and no other (409 if it differs). The answer comes back at once with status: approved; read the action again for executed or failed:<why> and what the tool returned.

Only one of its approvers may approve it, once (409 not_pending after that, and after it expired). A run with nobody behind it cannot approve: a person does, in the app, signed in with the CLI, or with an API key that has admin access. An id you may not read is a 404.

Request​

Responses​

Successful Response