Skip to main content
GET
/
v1
/
omni
/
calls
/
{call_id}
Get an Omni call record
curl --request GET \
  --url https://api.pyai.com/v1/omni/calls/{call_id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "omni.call",
  "call_id": "<string>",
  "session_label": "<string>",
  "duration_s": 123,
  "has_recording": true,
  "has_summary": true,
  "started_at": 123,
  "created_at": 123,
  "transcript": {},
  "transcript_url": "<string>",
  "recording_url": "<string>",
  "summary": {},
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

call_id
string
required

Response

Omni call detail

object
string
Example:

"omni.call"

call_id
string
session_label
string | null

The opaque tag passed on the connect URL, if any.

status
enum<string>
Available options:
completed,
failed
duration_s
number | null
has_recording
boolean
has_summary
boolean
started_at
integer | null

Unix ms when the session started.

created_at
integer

Unix ms when the record was written.

transcript
object

Inline transcript document; omitted in favor of transcript_url when offloaded.

transcript_url
string

Signed URL to the transcript when it was offloaded instead of inlined.

recording_url
string

Signed URL to the audio recording, when one exists.

summary
object

Structured post-call summary, when generated.

error
string

Present when status is failed.