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

# List stream assembly presets

> The agent stacks a streamed connection can name in streamAssembly.preset, each with the stream format it needs, the settings it fills today, and the vendor documentation and day they come from. See [Endpoint Connections](https://docs.galtea.ai/concepts/product/endpoint-connection).



## OpenAPI

````yaml /openapi.json get /endpointConnections/streamPresets
openapi: 3.0.0
info:
  version: 1.0.0
  title: Product Management Service API
  description: API documentation for Product Management Service
  contact:
    name: Galtea AI
servers:
  - url: https://api.galtea.ai
security:
  - bearerAuth: []
tags: []
externalDocs:
  description: Galtea Platform Documentation
  url: https://docs.galtea.ai
paths:
  /endpointConnections/streamPresets:
    get:
      tags:
        - endpoint-connections
      summary: List stream assembly presets
      description: >-
        The agent stacks a streamed connection can name in
        streamAssembly.preset, each with the stream format it needs, the
        settings it fills today, and the vendor documentation and day they come
        from. See [Endpoint
        Connections](https://docs.galtea.ai/concepts/product/endpoint-connection).
      operationId: listEndpointConnectionStreamPresets
      responses:
        '200':
          description: The stream assembly presets
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StreamAssemblyPreset'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    StreamAssemblyPreset:
      type: object
      properties:
        preset:
          type: string
          enum:
            - CUSTOM
            - OPENAI_CHATKIT
            - OPENAI_RESPONSES
            - OPENAI_CHAT_COMPLETIONS
            - ANTHROPIC_MESSAGES
            - GOOGLE_ADK
            - VERCEL_AI_SDK
          description: The value to send as streamAssembly.preset.
          example: OPENAI_CHATKIT
        name:
          type: string
          example: OpenAI ChatKit
        description:
          type: string
          description: When to use the preset, in plain words.
        streamFormat:
          type: string
          enum:
            - SSE
            - NDJSON
          description: >-
            The streamFormat the connection must have. A connection with another
            format is refused.
          example: SSE
        assembly:
          allOf:
            - $ref: '#/components/schemas/StreamAssemblySettings'
            - description: >-
                The settings the preset fills today. A connection follows the
                preset by name, so a change here reaches every connection that
                names it. To change one of them, send these settings as
                streamAssembly with the preset CUSTOM.
        sourceUrl:
          type: string
          description: The vendor documentation the settings come from.
          example: >-
            https://openai.github.io/chatkit-python/concepts/thread-stream-events/
        readOn:
          type: string
          description: The day the vendor documentation was read, as an ISO date.
          example: '2026-11-20'
      required:
        - preset
        - name
        - description
        - streamFormat
        - assembly
        - sourceUrl
        - readOn
    Error:
      type: object
      properties:
        error:
          type: string
          example: NotFound
          description: >-
            The HTTP status name in PascalCase, such as `BadRequest` or
            `NotFound`.
        message:
          type: string
          example: Product not found
          description: What went wrong, for a person.
      required:
        - error
        - message
    StreamAssemblySettings:
      type: object
      properties:
        textPath:
          type: string
          description: JSONPath to the text in each chunk, starting with $.
          example: $.update.delta
        mode:
          type: string
          enum:
            - APPEND
            - LAST
          description: >-
            APPEND joins the text of every chunk. LAST keeps the text of the
            last chunk.
          example: APPEND
        eventField:
          type: string
          nullable: true
          description: >-
            JSONPath to the event name in each chunk. Null uses the SSE event
            name, or "message" when a chunk names none.
          example: $.type
        terminalEvent:
          type: string
          nullable: true
          description: >-
            The event name, or the raw chunk data (for example [DONE]), that
            ends the reply. Null reads the reply to the end of the stream.
          example: null
        textEvent:
          type: string
          nullable: true
          description: >-
            The only event whose chunks give text. Null takes text from every
            chunk.
          example: null
        errorEvent:
          type: string
          nullable: true
          description: >-
            The event name that fails the turn, with the event data in the
            error. Null reads every event as data.
          example: error
      required:
        - textPath
        - mode
        - eventField
        - terminalEvent
        - textEvent
        - errorEvent
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authorization. Pass your API key in the Authorization header as
        a Bearer token. Both new (`gsk_*`) and legacy (`gsk-`) API keys are
        accepted, e.g. `Authorization: Bearer gsk_...` or `Authorization: Bearer
        gsk-...`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.