Resolve a waiting task run
Typed resolution for a run paused in needs_input. type: "approvals" answers the run’s pending integration approvals — the submitted set must exactly match pending_approval_ids on the run, or the request returns 409 stale_resolution (re-read the run and retry). type: "input" sends follow-up instructions into the run’s chat and starts a new turn. type: "complete" accepts a supervised run’s output as-is. Returns 202 when the run resumes in the background (approvals, input) and 200 when resolved inline (complete). 409 run_not_waiting if the run is not in needs_input.
Authorizations
API key in the format: Bearer {api_token}
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
255Path Parameters
Task run id (trun_...)
Body
Response
Resolved inline (type complete).
pending, running, completed, failed, needs_input, timed_out, unknown 
