Export Batch Results
Download the results of a batch as a CSV file.
GET
Headers
x-workspace-idstringrequiredWorkspace identifier for the API.
Path Parameters
batchIdstringrequiredThe batch whose results to export.
The response is a CSV file (Content-Type: text/csv, filename batch-calls-results-<batchId>.csv). It works for any batch in your workspace, including batches older than 7 days.
Columns:
- The original CSV columns, in their original order (
phone_numberis always included) call_status,call_duration,call_id,call_summary- One
analyzed_<field>column per post-call analysis field found on the batch's calls, sorted by name
Errors
404{"error": "Batch not found"}when the batch doesn't exist or belongs to another workspace500{"error": "..."}if the export fails
Example
curl -X GET "https://api.trillet.ai/v1/api/batch-calls/k3j9x0a1bq/export-results" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-workspace-id: YOUR_WORKSPACE_ID" \
-o batch-results.csvLast updated on