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
limitintegerResults per page. Default: 100, Max: 500
pageintegerPage number. Default: 1

Code Examples

curl -X GET "https://api.staging.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": {
"items": [
{
"call_id": "call_a1b2c3d4",
"external_id": "101",
"phone_number": "919876543210",
"name": "John Doe",
"status": "completed",
"duration_seconds": 145,
"answer_duration_seconds": 132,
"disconnect_reason": "agent_hangup",
"transcript_status": "ready",
"analysis_status": "ready",
"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,
"file_key": "recordings/call_a1b2c3d4.wav"
},
"started_at": "2026-05-15T08:30:05Z",
"ended_at": "2026-05-15T08:32:30Z"
}
],
"total": 150,
"page": 1,
"limit": 100,
"has_more": true
}
}

401 Unauthorized

Returned when the API key is missing or invalid.

{
"status_code": 401,
"message": "Missing or invalid API key",
"error": {
"code": "UNAUTHORIZED",
"details": ["Provide a valid Bearer token in the Authorization header"]
},
"data": null
}

404 Not Found

Returned when the batch does not exist or is not owned by your account.

{
"status_code": 404,
"message": "Batch not found",
"error": {
"code": "NOT_FOUND",
"details": ["No batch found with id sched_5d398018"]
},
"data": null
}

Result Fields

FieldTypeDescription
call_idstringUnique call identifier
external_idstringYour contact ID
statusstringFinal call status
duration_secondsintegerTotal call duration
answer_duration_secondsintegerDuration after answer
disconnect_reasonstringWhy the call ended
transcript_statusstringdisabled, pending, processing, ready, failed
analysis_statusstringdisabled, pending, processing, ready, failed
summarystringAI-generated call summary
outcomesobjectAI-extracted call outcomes (configured per agent)
recording.availablebooleanWhether a recording exists
recording.file_keystringFile key used to retrieve the recording from storage