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

# Download role audio



## OpenAPI

````yaml get /api/recordings/{recording_id}/audio/{role}
openapi: 3.1.0
info:
  title: Voice Runtime Proxy & Recording API
  description: >-
    API for voice runtime WebSocket proxying, call recordings, CDR ingestion,
    and static UI serving.
  version: 1.0.0
servers:
  - url: http://localhost:9511/
security: []
tags:
  - name: Voice Runtime
  - name: Recordings
  - name: CDR
  - name: Static
paths:
  /api/recordings/{recording_id}/audio/{role}:
    get:
      tags:
        - Recordings
      summary: Download role audio
      parameters:
        - name: recording_id
          in: path
          required: true
          schema:
            type: string
        - name: role
          in: path
          required: true
          schema:
            type: string
            enum:
              - user
              - agent
      responses:
        '200':
          description: Raw mono PCM audio
          headers:
            X-Sample-Rate:
              schema:
                type: integer
              example: 16000
            X-Channels:
              schema:
                type: integer
              example: 1
            X-Bit-Depth:
              schema:
                type: integer
              example: 16
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary

````