Skip to main content

Get Batch Results

GET Get batch call results

GET /api/v1/public/call-batches/{batch_id}/results

Retrieve the outcomes, transcripts, and analysis results for all calls in a batch. This endpoint returns detailed per-call results including AI-extracted outcomes.

Authorization

Authorization: Bearer sk_your_api_key

Path Parameters

ParameterTypeRequiredDescription
batch_idstringThe batch/schedule ID

Query Parameters

ParameterTypeRequiredDescription
outcomestringFilter by a specific value in the call's AI-extracted outcomes
statusstringFilter by call status
transcript_statusstringFilter by transcript status (e.g. ready, processing)
limitintegerResults per page. Default: 100, Max: 200
pageintegerPage number. Default: 1

Code Examples

curl -X GET "https://api.techladder.ai/api/v1/public/call-batches/sched_5d398018/results?limit=100&page=1" \
-H "Authorization: Bearer sk_your_api_key"

Responses

200 OK

A paginated list of call results with AI-extracted outcomes.

{
"status_code": 200,
"message": "Batch results fetched successfully",
"error": null,
"data": {
"status": "completed",
"items": [
{
"call_id": "call_a1b2c3d4",
"batch_id": "sched_5d398018",
"contact_id": "101",
"external_id": "101",
"phone_number": "919876543210",
"agent_id": "agt-57949b14",
"agent_name": "Customer Outreach Agent",
"version_id": "pmt-667ddf271b",
"version_name": "v3",
"voice": "Tara",
"status": "completed",
"call_status": "completed",
"transcript_status": "ready",
"duration_seconds": 145,
"answer_duration_seconds": 132,
"timestamp": "2026-05-15T08:30:05Z",
"created_at": "2026-05-15T08:30:05Z",
"completed_at": "2026-05-15T08:32:30Z",
"hangup_by": "agent",
"disconnect_reason": "agent_hangup",
"summary": "Customer was interested in the product demo. Agreed to a follow-up call next week.",
"outcomes": {
"Interested": "Yes",
"Follow Up Required": "Yes",
"Callback Date": "2026-05-20",
"Product Interest": "Premium Plan"
},
"recording_available": true,
"recording_url": "https://.../recordings/call_a1b2c3d4.wav",
"llm_transcript": "Agent: Hello, this is..."
}
],
"pagination": {
"page": 1,
"limit": 100,
"total": 150,
"has_more": true
}
}
}

The top-level status field summarizes the batch's results as a whole: pending (contacts still awaiting a result), completed (all results are in), or cancelled.

401 Unauthorized

Returned when the API key is missing or invalid. This is not wrapped in the standard envelope.

{
"detail": "Invalid API key"
}

404 Not Found

Returned when the batch does not exist or is not owned by your account. This is not wrapped in the standard envelope.

{
"detail": "Call batch not found"
}

Result Item Fields

FieldTypeDescription
call_idstringUnique call identifier
batch_idstringThe batch this call belongs to
contact_id / external_idstringYour contact ID
phone_numberstringNumber dialed
agent_id / agent_namestringAgent that handled the call
version_id / version_namestringPrompt version used
voicestringVoice used for the call
status / call_statusstringFinal call status
duration_secondsintegerTotal call duration
answer_duration_secondsintegerDuration after answer
hangup_bystringWho ended the call (agent, user, system)
disconnect_reasonstringWhy the call ended
transcript_statusstringe.g. pending, processing, ready, failed
summarystringAI-generated call summary
outcomesobjectAI-extracted call outcomes (configured per agent)
recording_availablebooleanWhether a recording exists
recording_urlstringURL to retrieve the recording
llm_transcriptstringFull call transcript