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

# Get Recording

> Stream an audio recording file directly from the server.

### Headers

<ParamField header="Authorization" type="string" required>
  Bearer token for authentication (e.g., `Bearer <your_token>`).
</ParamField>

### Path Parameters

<ParamField path="recording_id" type="string" required>
  The unique identifier of the recording (e.g., `rec_123456789`).
</ParamField>

### Response

<ResponseField name="Audio File" type="file">
  The binary audio stream. The `Content-Type` header will be `audio/mpeg` or `audio/wav`.
</ResponseField>

<ResponseField name="error" type="string">
  The error type or code (Error responses only).
</ResponseField>

<ResponseField name="message" type="string">
  A descriptive message explaining the error (Error responses only).
</ResponseField>

<ResponseExample>
  ```json 200 OK theme={null}
  // Binary Audio Data
  // Content-Type: audio/mpeg or audio/wav

  ```

  ```json 401 Unauthorized theme={null}
  {
    "error": "Unauthorized",
    "message": "Missing or invalid authorization header"
  }

  ```

  ```json 404 Not Found theme={null}
  {
    "error": "NotFound",
    "message": "Recording not found"
  }

  ```

  ```json 500 Server Error theme={null}
  {
    "error": "InternalServerError",
    "message": "An unexpected error occurred"
  }

  ```
</ResponseExample>
