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

# Resume stream

> Replays the buffered UIMessage chunks of the thread's in-flight chat turn from the start, then continues streaming live. Returns 204 when there is nothing to resume.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/chat/stream
openapi: 3.1.0
info:
  title: Sidenet API
  version: 1.0.0
  description: >-
    Sidenet HTTP endpoints exposed by the Sidenet Studio. All routes require an
    api key that can be generated through the studio in studio.sidenet.ai.
servers:
  - url: https://api.sidenet.ai
security:
  - bearerAuth: []
paths:
  /v1/chat/stream:
    get:
      tags:
        - Chat
      summary: Resume stream
      description: >-
        Replays the buffered UIMessage chunks of the thread's in-flight chat
        turn from the start, then continues streaming live. Returns 204 when
        there is nothing to resume.
      parameters:
        - name: threadId
          in: query
          required: true
          description: Thread identifier
          schema:
            type: string
            example: thread_2f81c04a
      responses:
        '200':
          description: AI SDK v6 UIMessageStream response (replay + live tail)
          content:
            text/event-stream:
              schema:
                type: string
        '204':
          description: No resumable stream for this thread
        '400':
          description: Bad request - missing threadId or organization context
      security:
        - sessionToken: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Organization API key, generated in studio.sidenet.ai. Backend only —
        never in a browser.
    sessionToken:
      type: http
      scheme: bearer
      description: >-
        Session token (`snat_…`) minted by POST /v1/token. Carries the
        organization and the end user; safe in a browser.

````