Complete a human step
Marks one of the run’s executor: "human" steps done, which releases everything waiting on it.
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.
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
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Headers
Query parameters
How many seconds to hold the request open. Releases early the moment the run finishes or blocks on a person. Maximum 120; 0 returns immediately.
Request
Response headers
true when this response replays an earlier request.
Response
Who performs the step: agent runs by itself, human waits for a person to complete it.