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

# Serve interaction media stored by reference

> Serve stored interaction media by its id: 400 malformed id, 404 miss, 503 blob provider gone.



## OpenAPI

````yaml /openapi.json head /api/interactions/media/{media_id}
openapi: 3.1.0
info:
  description: The operator HTTP surface served under /api/*.
  title: tai42-skeleton API
  version: 21.3.1
servers: []
security: []
paths:
  /api/interactions/media/{media_id}:
    head:
      tags:
        - interactions
      summary: Serve interaction media stored by reference
      description: >-
        Serve stored interaction media by its id: 400 malformed id, 404 miss,
        503 blob provider gone.
      operationId: head_api_interactions_media_media_id
      parameters:
        - in: path
          name: media_id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data: {}
                required:
                  - data
                type: object
          description: 'Served interaction media: raw bytes by capability URL'
          x-no-body: 'Served interaction media: raw bytes by capability URL'
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Malformed request.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Resource not found.
        '503':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: >-
            A dependency this route needs is temporarily unavailable; retry
            shortly.
components:
  schemas:
    Error:
      properties:
        code:
          description: >-
            Stable machine-readable reason a client keys a dedicated error state
            on, present on refusals that opt in (e.g. a 501 not-configured
            refusal). Optional: absent when the error carries only a
            human-readable message.
          type: string
        error:
          type: string
      required:
        - error
      type: object

````