Skip to main content

Stream Audio

Stream audio file from Azure Blob Storage. Authentication: Requires X-API-Key header

Request Example

curl -X GET 'https://api.vaaniresearch.com/api/stream/call_123' \
  -H 'X-API-Key: YOUR_API_KEY' \
  --output audio.wav

Response

Success Response (200)

Returns a JSON object containing audio stream information. The exact structure may vary based on the implementation.
{
  "stream_url": "https://storage.azure.com/audio/call_123.wav",
  "content_type": "audio/wav",
  "call_id": "call_123"
}
The response structure follows the StreamResponse schema, which is an object with additional properties. The exact fields may vary based on your implementation. The audio file is stored in Azure Blob Storage.

Validation Error Response (422)

{
  "detail": [
    {
      "loc": ["path", "call_id"],
      "msg": "field required",
      "type": "value_error.missing"
    }
  ]
}
detail
array
Array of validation error details