List vs detail view
| Field | List | Detail |
|---|---|---|
| Basic info (name, phone, duration, status) | yes | yes |
call_summary | yes | yes |
transcript | — | yes |
audio_file_url | — | yes |
final_score | — | yes |
Data model
| Field | Type | Description |
|---|---|---|
id | uuid | Call record identifier |
call_id | string | LiveKit call identifier |
customer_name | string | Caller’s name (if tracked) |
customer_request | string | Subject of the call |
phone_number | string | Caller’s phone number |
duration | integer | Call duration in seconds |
done | boolean | Whether the call has been processed |
general_success | boolean | Whether the call was successful |
disconnection_reason | string | user_hangup, call_transfer, agent_hangup |
call_summary | string | AI-generated call summary |
employee | string | Assigned employee name |
note | string | Manual note added by staff |
agent_id | uuid | Agent that handled the call |
is_purged | boolean | Whether sensitive data has been purged |
deleted_at | datetime | Soft-delete timestamp (null if not deleted) |
created_at | datetime | Call start timestamp |
updated_at | datetime | Last update timestamp |
| Field | Type | Description |
|---|---|---|
transcript | string | JSON string of conversation [{"role":"agent","text":"..."},...] |
audio_file_url | string | Signed URL to call recording (expires after 1 hour) |
final_score | integer | AI-generated quality score (1-10) |
Endpoints
List calls
calls:read | Pagination: yes (ordered by created_at descending)
Soft-deleted calls are excluded by default.
Filters:
| Parameter | Type | Description |
|---|---|---|
done | boolean | Filter by completion status |
from | datetime | Calls created after this date (ISO 8601) |
to | datetime | Calls created before this date (ISO 8601) |
phone_number | string | Exact match on caller phone number |
search | string | Search in customer name, phone number, or summary |
include_deleted | boolean | Include soft-deleted calls (default: false) |
Get call details
calls:read
Returns full call details including transcript and audio URL.
Note: Purged calls (is_purged: true) will have transcript, audio_file_url, and phone_number set to null.
Transcript format
Thetranscript field is a JSON string containing an array of message objects:
Common patterns
Pull new calls since last sync
Export all calls for a date range
Related resources
- Agents — Parent resource
- Call Management — Dashboard UI guide