> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superdocs.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Resume or stop a chat turn paused by a large-edit continue prompt.

> Used with chat_async when a large edit paused to ask whether to keep going.
Poll get_job until status=awaiting_approval AND metadata.awaiting_kind='continue_prompt';
then POST here with continue=true to resume (the AI picks up where it left off with a
fresh time/step budget) or continue=false to stop (everything applied so far is kept).
The job then resumes/finishes and reaches status=completed. This is NOT the change-
approval endpoint (that is approve_change) — it can only act on a continue-prompt pause.



## OpenAPI

````yaml /openapi.json post /v1/chat/{session_id}/continue
openapi: 3.1.0
info:
  title: Universal Document AI API
  description: AI-powered document editing with multi-tenant organization support
  version: 2.0.0
servers: []
security: []
paths:
  /v1/chat/{session_id}/continue:
    post:
      tags:
        - v1
        - mcp
        - chat
      summary: Resume or stop a chat turn paused by a large-edit continue prompt.
      description: >-
        Used with chat_async when a large edit paused to ask whether to keep
        going.

        Poll get_job until status=awaiting_approval AND
        metadata.awaiting_kind='continue_prompt';

        then POST here with continue=true to resume (the AI picks up where it
        left off with a

        fresh time/step budget) or continue=false to stop (everything applied so
        far is kept).

        The job then resumes/finishes and reaches status=completed. This is NOT
        the change-

        approval endpoint (that is approve_change) — it can only act on a
        continue-prompt pause.
      operationId: continue_chat
      parameters:
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            title: Session Id
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContinueRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    ContinueRequest:
      properties:
        job_id:
          type: string
          title: Job Id
          description: Job ID awaiting a continue decision.
        continue:
          type: boolean
          title: Continue
          description: >-
            True to resume with a fresh budget; false to stop here (work so far
            is kept).
      type: object
      required:
        - job_id
        - continue
      title: ContinueRequest
      description: Resume or stop a chat turn that paused to ask whether to continue.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````