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

# Stream a run's recording or transcript (token from /media-token)

> Read a supported run artifact using a signed media token. HTTP Range requests are supported. Tokens and artifact URLs grant access and must be kept private.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/workflow-runs/{run_id}/media/{kind}
openapi: 3.1.0
info:
  title: Athena API
  version: 1.0.0
  description: >-
    Hosted Athena customer API. Authenticate backend management and call-trigger
    requests with X-API-Key. Website embeds and artifact playback use their own
    scoped tokens. Provider availability, feature settings, and verification
    limits are described in the guides.
servers:
  - url: https://athena.tryopencomputer.com
    description: Hosted Athena API
security: []
paths:
  /api/v1/workflow-runs/{run_id}/media/{kind}:
    get:
      tags:
        - Workflow Runs
      summary: Stream a run's recording or transcript (token from /media-token)
      description: >-
        Read a supported run artifact using a signed media token. HTTP Range
        requests are supported. Tokens and artifact URLs grant access and must
        be kept private.
      operationId: stream_run_media_api_v1_workflow_runs__run_id__media__kind__get
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: integer
            title: Run Id
        - name: kind
          in: path
          required: true
          schema:
            enum:
              - recording
              - transcript
              - user_recording
              - bot_recording
            type: string
            title: Kind
        - name: token
          in: query
          required: true
          schema:
            type: string
            description: Token from /media-token
            title: Token
          description: Token from /media-token
        - name: download
          in: query
          required: false
          schema:
            type: boolean
            description: Send as an attachment
            default: false
            title: Download
          description: Send as an attachment
      responses:
        '200':
          description: Whole file
          content:
            application/json:
              schema: {}
        '206':
          description: Requested byte range
        '302':
          description: Redirect to a signed URL (browser-reachable storage)
        '401':
          description: Invalid or expired token
        '404':
          description: Run or artifact not found
        '416':
          description: Range not satisfiable
        '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

````

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