Tasks
Resume a failed task
Rebuild a crashed or failed turn from its chunk log and continue it on the same stream, rather than starting the task over.
Refuses rather than guesses. A turn the user cancelled deliberately, a
BYOK run whose credentials only ever arrived on the original request, and a
turn whose chunk log has expired are all declined with a reason. Deliberately
stopped turns cannot be resumed, including with confirm: true. Send a new
task message to request additional work instead.
Ownership is checked against the caller, not inferred from the task id.
POST
Resume a failed task
Body
application/json
Response
Resume accepted; the turn continues on the same stream

