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

# Stream job

> Stream real-time status updates for a job via Server-Sent Events.

Opens a Server-Sent Events (SSE) connection that emits events as the job progresses. The connection closes automatically when the job reaches a terminal state.

See [Streaming](/vision-api/async-jobs/streaming) for usage examples, event types, and client code samples.


## OpenAPI

````yaml GET /jobs/{job_id}/stream
openapi: 3.1.0
info:
  title: Bedrock API
  version: 1.0.0
  description: >-
    REST API for construction document management and computer vision
    intelligence.
  contact:
    name: Bedrock Support
    url: https://bedrock.cv
    email: support@bedrock.cv
servers:
  - url: https://api.bedrock.cv
security:
  - BearerAuth: []
  - ApiKeyAuth: []
paths:
  /jobs/{job_id}/stream:
    get:
      tags:
        - Jobs
      summary: Stream job updates
      description: >-
        Stream real-time status updates for a job via Server-Sent Events (SSE).
        Events include status changes, progress updates, and terminal states
        (completed, failed, canceled). The connection sends heartbeats every 15
        seconds and closes automatically after 5 minutes or when the job reaches
        a terminal state.
      operationId: streamJob
      parameters:
        - $ref: '#/components/parameters/ApiVersionHeader'
        - name: job_id
          in: path
          required: true
          schema:
            type: string
          description: Job ID
      responses:
        '200':
          description: SSE event stream.
          content:
            text/event-stream:
              schema:
                type: string
                description: >-
                  Server-Sent Events stream. Events: `status` (status changed),
                  `progress` (progress update), `completed` (job finished),
                  `failed` (job errored), `canceled` (job canceled). Each event
                  has a JSON `data` field with `job_id`, `type`, `status`, and
                  optional `progress` or `error` fields.
                example: >+
                  event: status

                  data:
                  {"job_id":"job_01JABCD123","type":"overlay.generate","status":"RUNNING"}


                  event: completed

                  data:
                  {"job_id":"job_01JABCD123","type":"overlay.generate","status":"COMPLETED"}

        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    ApiVersionHeader:
      name: X-API-Version
      in: header
      required: false
      schema:
        type: string
        default: '2026-01-01'
      description: API version
  responses:
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          example:
            type: https://docs.bedrock.cv/errors/authentication
            title: Unauthorized
            status: 401
            detail: Invalid or missing API key.
            code: UNAUTHORIZED
            request_id: req_01JABCD123
    RateLimited:
      description: Rate limited
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
          example:
            type: https://docs.bedrock.cv/errors/rate-limit
            title: Rate limited
            status: 429
            detail: Rate limit exceeded. Try again in 60 seconds.
            code: RATE_LIMITED
            request_id: req_01JABCD123
  schemas:
    ApiError:
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        code:
          type: string
        request_id:
          type: string
        instance:
          type: string
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
      required:
        - type
        - title
        - status
        - detail
      example:
        type: https://docs.bedrock.cv/errors/bad-request
        title: Bad Request
        status: 400
        detail: One or more request fields are invalid.
        instance: /projects
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'API key prefixed with `sk_`. Example: `Authorization: Bearer sk_xxx`'
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````