Get Batch Call Details
Fetch calls and progress details for one batch call.
page and limit (up to 200), or set export=true to receive every matching call in one response. An export above 5,000 rows is refused with 400; the limit is 10,000 when columns is sent and leaves out both transcript and summary. Paginated results leave out retry attempts; export=true includes them. An unknown batch ID, or one from another workspace, returns an empty array. List Calls with batch_call_id returns the same records.
When to use this
- Operational dashboards: render the batch detail page with live progress.
- Call progress: inspect the calls a waiting or running batch has produced so far. For the batch’s own status (
waiting,running,paused,completed), poll List Batch Calls; an empty array here cannot tell a waiting batch from one with no matching calls. - Audit logs: inspect the calls created for the batch and their current outcomes.
- Re-run preparation: compare previous call outcomes before creating a new batch with Create Batch Call.
Path parameters
Common query parameters
The returned calls support the same operational filters used by call log browsing.Filter Batch Calls By Agent Type
The endpoint accepts the sameagent_type values as List Calls: single_prompt, conversational_flow, speech_to_speech, and ivr.
Errors
400 Bad Requestis returned when query parameters are invalid, including astatus,type,call_directionorsentimentvalue outside its list, or when an export exceeds the applicable row limit.
Related endpoints
- List Batch Calls: browse all batches.
- Create Batch Call: start a new batch.
- Batch calling: guidance on designing a batch.
- Concurrency and limits: pacing batches against your workspace limits.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Batch call ID
"batch_abc123"
Query Parameters
Filter by agent ID: one ID or a comma-separated list (e.g., agent_abc,agent_def). Ignored when agent_version_id is sent, and replaced by agent_version_name when that name matches a version.
Filter by call ID - can be a single ID or comma-separated list (e.g., call_abc,call_def)
Filter by the workspace phone number on the call (the number dialled from, or for an inbound call the number that was called), as a partial match on its digits.
Filter by recipient phone number, as a partial match on the batch lead's number as stored. The value is not reduced to digits, and Indian lead numbers are stored as 91XXXXXXXXXX without +, so send digits only. Only batch calls carry a lead, so single calls and retry attempts never match this filter.
Filter by call type: one value or a comma-separated list of phone, web.
Filter by call direction: one value or a comma-separated list of inbound, outbound.
Filter batch calls by agent version, written as <agent_id>-<version_number> (for example agent_2g7Xy3tY53gRlp-3); one value or a comma-separated list. Only calls placed by a batch match. A value in any other format is ignored, and when no value is valid the whole filter is dropped. When this parameter is sent, agent_id is not applied.
"agent_2g7Xy3tY53gRlp-3"
Search by agent version name (partial match, case-insensitive)
Filter by user sentiment: one value or a comma-separated list of positive, neutral, negative, unknown.
Return calls created on or after the start of this day in UTC (ISO 8601). The value is converted to UTC first, then widened to 00:00:00 UTC of that day, so a time with an offset can move the day. Send a plain date (YYYY-MM-DD).
Return calls created on or before the end of this day in UTC (ISO 8601). The value is converted to UTC first, then widened to 23:59:59.999 UTC of that day, so a time with an offset can move the day. Send a plain date (YYYY-MM-DD).
Return calls longer than this many seconds.
x >= 0Return calls shorter than this many seconds.
x >= 0Lower bound of a duration range in seconds, inclusive. Applied only together with duration_max; sent alone it is ignored.
x >= 0Upper bound of a duration range in seconds, inclusive. Applied only together with duration_min; sent alone it is ignored.
x >= 0Page number (starts from 1)
x >= 11
Number of records per page. Minimum 1, maximum 200.
1 <= x <= 20020
Sort by created_at (asc or desc)
asc, desc Sort by duration (asc or desc)
asc, desc Filter by call status: one value or a comma-separated list, for example completed,failed. Values: initiated, received, sent, did_not_pick, busy, failed, no_answer, completed, created, cancelled, retry_expired. An unknown value returns 400.
Set to true to return every matching call in one JSON array without pagination, up to the export row limit, including retry attempts. Omit it or send false to receive pages. For a batch export, the row limit counts the original calls only; retry attempts are added on top, so the array can be longer.
Filter by why the call ended: one value or a comma-separated list of agent_disconnected, user_disconnected, user_busy, user_did_not_pick_up, invalid_phone_number, unallocated_phone_number, unknown, network_failure, voicemail_detected, user_unreachable, destination_forbidden, system_failure, system_at_capacity, insufficient_balance, agent_not_found, sip_auth_failed, sip_trunk_unreachable, spend_cap_reached, dnc_blocked. Unknown values are ignored; if no value is known, no calls match.
Filter by whether the call was handled by an IVR agent (matched by the call's agent and/or the IVR billing flag, so both promoted/transferred and pure menu calls count). true = IVR calls only; false = non-IVR calls only; omit for all.
Filter by lead tags: the tags attached to the workflow lead when its leads file was uploaded, snapshotted onto the call when it was placed. Comma-separated for multiple values. Matching is case-insensitive because tags are normalized to lowercase on upload. Use tags_match to choose ANY (default) or ALL.
"priority,q3-campaign"
How multiple tags values combine: "any" returns calls carrying at least one of them (default), "all" returns only calls carrying every one of them.
any, all Export only: comma-separated list of column keys being exported (e.g. "duration,status,end_reason"). Lets the server skip fetching heavy columns nobody asked for, which raises the export row limit. Omit to fetch everything, as before.
Filter by agent type. ivr is equivalent to is_ivr=true and includes IVR handoffs. Other types require an agent ID retained on the call; calls without one do not match those types.
single_prompt, conversational_flow, speech_to_speech, ivr Response
Calls in the batch returned successfully.
Signed call ID.
"call_abc123"
Agent that handled the call.
"agent_2g7Xy3tY53gRlp"
Signed batch ID of the batch the call belongs to; null for single calls and for retry attempts.
"batch_abc123"
Destination number as recorded on the call: the number as sent for a single call, and the lead's number as stored for a batch call, where an Indian number appears as 91XXXXXXXXXX without +.
"919876543210"
ID of the workspace phone number the call was placed from.
"phn_abc123"
When the call was placed.
Call duration in seconds, serialized as a string (the column is a 64-bit integer); null until a duration is recorded.
"42"
Current call status.
"completed"
When the call was initiated on the telephony side.
Why the call ended; unknown until the call ends. One of agent_disconnected, user_disconnected, user_busy, user_did_not_pick_up, invalid_phone_number, unallocated_phone_number, unknown, network_failure, voicemail_detected, user_unreachable, destination_forbidden, system_failure, system_at_capacity, insufficient_balance, agent_not_found, sip_auth_failed, sip_trunk_unreachable, spend_cap_reached, dnc_blocked.
"user_disconnected"
Post-call analysis fields extracted for this call, keyed by field name. An empty object until analysis has run.
Display name of the language model used on the call.
"gpt-4o"
Display name of the voice used on the call.
Time-limited link to the recording. Absent from the response unless export=true.