Skip to main content
GET
Download an Omni call recording

Authorizations

Authorization
string
header
required

Use Authorization: Bearer pyai_live_... (or pyai_test_...).

Path Parameters

call_id
string
required

Stable opaque PyAI-owned call identifier. Use it unchanged across every Omni call sub-resource.

Pattern: ^ocl_[A-Za-z0-9]{20}$
Example:

"ocl_7Hk2Qm9Zs4Wp8Lc3Nv6R"

Query Parameters

response
enum<string>

Set to url to return the canonical authenticated PyAI recording resource as JSON.

Available options:
url

Response

The canonical PyAI resource as JSON (?response=url), or the audio bytes streamed inline.

object
string
Example:

"omni.call.recording"

call_id
string

Stable opaque PyAI-owned call identifier. Use it unchanged across every Omni call sub-resource.

Pattern: ^ocl_[A-Za-z0-9]{20}$
Example:

"ocl_7Hk2Qm9Zs4Wp8Lc3Nv6R"

url
string<uri>

Canonical authenticated PyAI endpoint for the recording audio.