Complete a human step
Marks one of the run's executor: "human" steps done, which releases everything waiting on it.
{ "note": "Client signed; scan attached.", "files": ["file_01JQ8ZKMRT4V6WXYZ0ABCDEF"] }
Both fields are optional. files are ids you registered or that the run already holds; they are attached to the step and show up in the run's output.files.
Only human steps are completable — an agent's own step answers 422. A step whose dependencies are unfinished answers 409, and so does one that is already done. The response carries the step plus run.status; ?wait= holds the request while the run picks the work back up.
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
POST
https://api.cloudraker.com/v1/agent-runs/{id}/tasks/{taskId}/completeTry it
Authorization
Path parameters
Query parameters
Header parameters
Request body JSON required
Returns
200
The completed step, and where the run stands after it.
JSON