> ## 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.

# Get short-lived playback URLs for a run's recordings and transcript

> Authorize a run and mint short-lived playback URLs for available artifacts. Missing artifacts produce null URLs. Playback requires a configured signing secret and returns 503 when signing is unavailable.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/workflow-runs/{run_id}/media-token
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-token:
    get:
      tags:
        - Workflow Runs
      summary: Get short-lived playback URLs for a run's recordings and transcript
      description: >-
        Authorize a run and mint short-lived playback URLs for available
        artifacts. Missing artifacts produce null URLs. Playback requires a
        configured signing secret and returns 503 when signing is unavailable.
      operationId: get_run_media_token_api_v1_workflow_runs__run_id__media_token_get
      parameters:
        - name: run_id
          in: path
          required: true
          schema:
            type: integer
            title: Run Id
        - name: authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RunMediaTokenResponse'
        '401':
          description: Authentication is missing or invalid.
        '404':
          description: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '503':
          description: Service Unavailable
      security:
        - ApiKeyAuth: []
        - BearerAuth: []
components:
  schemas:
    RunMediaTokenResponse:
      properties:
        token:
          type: string
          title: Token
        expires_in:
          type: integer
          title: Expires In
        expires_at:
          type: integer
          title: Expires At
        urls:
          $ref: '#/components/schemas/RunMediaUrls'
      type: object
      required:
        - token
        - expires_in
        - expires_at
        - urls
      title: RunMediaTokenResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RunMediaUrls:
      properties:
        recording:
          anyOf:
            - type: string
            - type: 'null'
          title: Recording
        transcript:
          anyOf:
            - type: string
            - type: 'null'
          title: Transcript
        user_recording:
          anyOf:
            - type: string
            - type: 'null'
          title: User Recording
        bot_recording:
          anyOf:
            - type: string
            - type: 'null'
          title: Bot Recording
      type: object
      title: RunMediaUrls
    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
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer

````

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