Download an Omni call recording
Fetch the call’s audio recording, when one exists (recording is off by default). Requires omni:read.
By default this 302-redirects to a short-lived signed URL for the audio (served directly from object storage — droppable into a browser <audio src>, and any HTTP client that follows redirects gets the bytes). Pass ?response=url to receive the signed URL as JSON instead (handy for SDKs that embed it). On deployments without URL signing configured, the endpoint streams the audio bytes back inline (Content-Type reflects the stored format, e.g. audio/wav).
404 if there is no recording for the call.
Authorizations
Use Authorization: Bearer pyai_live_... (or pyai_test_...).
Path Parameters
Query Parameters
Set to url to return the signed URL as JSON instead of a 302 redirect.
url Response
The signed URL as JSON (?response=url), or the audio bytes streamed inline when signing is not configured.