Skip to main content
POST
/
v1
/
chat
/
{session_id}
/
continue
Resume or stop a large edit that paused to ask whether to continue.
curl --request POST \
  --url https://api.example.com/v1/chat/{session_id}/continue \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "job_id": "<string>",
  "continue": true
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null

Path Parameters

session_id
string
required

Body

application/json

Resume or stop a chat job that paused with a large-edit continue prompt.

job_id
string
required

Job ID that is awaiting a continue decision (status=awaiting_approval with metadata.awaiting_kind='continue_prompt').

continue
boolean
required

true to resume the job so it finishes the rest of the edit; false to stop and keep the work applied so far.

Response

Successful Response