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" closes the run as completed without resuming it. 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.
Request
- Base URL: https://api.crevio.co/v1
- URL: https://api.crevio.co/v1/task_runs/{id}/resolve
- Auth: API key in header Authorization
Path parameters
Task run id (trun_...)
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.
Request body
Response
Resolved inline (type complete).
Changes
No recorded changes to this operation across all 2 revisions of this API.