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

# Stream Request Updates (SSE)

> Server-sent events for the authenticated account's requests: a `snapshot` event with the currently in-flight requests on connect, then an `update` event per status transition (terminal transitions included), with a heartbeat comment every 25s. This is an account-wide activity feed, not a per-request output stream. Authenticate with the `Authorization: Key …` header or, where headers are unavailable (browser EventSource), the `modelrunner_jwt_token` query parameter.



## OpenAPI

````yaml /openapi.json get /requests/stream
openapi: 3.1.0
info:
  title: ModelRunner Requests API
  version: 1.0.0
  description: >-
    Endpoints to create, track, retrieve, and cancel inference requests on
    ModelRunner.
servers:
  - url: https://queue.modelrunner.run
security:
  - apiKeyAuth: []
paths:
  /requests/stream:
    get:
      summary: Stream Request Updates (SSE)
      description: >-
        Server-sent events for the authenticated account's requests: a
        `snapshot` event with the currently in-flight requests on connect, then
        an `update` event per status transition (terminal transitions included),
        with a heartbeat comment every 25s. This is an account-wide activity
        feed, not a per-request output stream. Authenticate with the
        `Authorization: Key …` header or, where headers are unavailable (browser
        EventSource), the `modelrunner_jwt_token` query parameter.
      responses:
        '200':
          description: >-
            text/event-stream of `{type: 'snapshot', requests: RequestItem[]}`
            and `{type: 'update', request: RequestItem}` events.
          content:
            text/event-stream:
              schema:
                type: string
        '401':
          description: Missing or invalid credentials.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Authenticated, but not allowed for this caller.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - apiKeyAuth: []
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        statusCode:
          type: number
        details: {}
      required:
        - error
        - message
        - statusCode
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'Use the format: Key modelrunner_key'

````