Approve or reject a step
Answers a sign-off an agent run is waiting on, and lets the run carry on.
Read the outstanding ones from approvals[] on the run — each carries the step's name, the files it touches and, for a before gate, the params it proposes.
{ "decision": "approve" }
Rejecting needs a reason. { "decision": "reject", "note": "Wrong signer." } — a rejection without a note is a 400.
Editing before you approve. Send params to replace the proposed inputs, files to replace the files the step works on (ids from POST /v1/files or the run's own inputs). The two together must stay under 1 MiB.
The response carries the decision plus run.status, so you know whether the run moved on, finished, or is blocked on the next thing. ?wait= holds the request while the run picks the work back up, releasing early the moment it finishes or blocks again.
Deciding the same sign-off twice is a 409 — the first answer stands.
Note: An API key has no person behind it, so the run records your organization's key as the actor rather than a named individual.
Learn more: Agents guide
https://api.cloudraker.com/v1/agent-runs/{id}/approvals/{approvalId}Try it
Authorization
Path parameters
Query parameters
Header parameters
Request body JSON required
Returns
200
The decision, and where the run stands after it.