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

# Stream execution events (SSE)

> Server-Sent Events stream of a single execution's lifecycle. Auth is a short-lived stream token passed via the `?token=` query parameter (a browser `EventSource` cannot send headers) — mint one with `POST /auth/stream-token`. This endpoint is long-lived and is not callable from the interactive playground; see the [Stream executions guide](/guides/stream-executions) for a client wrapper with reconnect handling.



## OpenAPI

````yaml /openapi.json get /executions/{execution_id}/stream
openapi: 3.1.0
info:
  title: GetDialed Flows API
  version: 0.1.0
servers:
  - url: https://api.getdialed.ai/flows
    description: Production
  - url: http://localhost:8000
    description: Local development
security: []
paths:
  /executions/{execution_id}/stream:
    get:
      tags:
        - streams
      summary: Stream execution events (SSE)
      description: >-
        Server-Sent Events stream of a single execution's lifecycle. Auth is a
        short-lived stream token passed via the `?token=` query parameter (a
        browser `EventSource` cannot send headers) — mint one with `POST
        /auth/stream-token`. This endpoint is long-lived and is not callable
        from the interactive playground; see the [Stream executions
        guide](/guides/stream-executions) for a client wrapper with reconnect
        handling.
      operationId: stream_execution_executions__execution_id__stream_get
      parameters:
        - name: execution_id
          in: path
          required: true
          schema:
            type: string
            title: Execution Id
        - name: token
          in: query
          required: true
          schema:
            type: string
            title: Token
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    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
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````