Skip to main content
POST
Resume a failed task

Authorizations

Authorization
string
header
required

JWT authentication token

Path Parameters

id
string<uuid>
required

Task ID

Body

application/json
confirm
boolean
default:false

Required to resume a turn that was cancelled deliberately. Without it a user_abort is refused, so a resume can never silently undo a cancellation.

Response

Resume accepted; the turn continues on the same stream

success
boolean
required
error
string

Present on every refusal, and always says which gate declined.

failure_cause
string

Why the turn originally ended, when the row recorded one.

replayed
integer

Chunks replayed out of the trusted prefix.

state
string

Integrity verdict for the rebuilt history.

stream_id
string

The stream the turn continues on — the same one it crashed on.