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.
Authorizations
JWT authentication token
Path Parameters
Task ID
Body
Retained for compatibility and ignored. Deliberately stopped turns cannot be resumed, regardless of this value.
Response
Resume accepted; the turn continues on the same stream
Present on every refusal, and always says which gate declined.
Why the turn originally ended, when the row recorded one.
Chunks replayed out of the trusted prefix.
True only when no replay started and the same recovery may be attempted again.
Integrity verdict for the rebuilt history.
The stream the turn continues on — the same one it crashed on.

