Trillet AI logo

Export Batch Results

Download the results of a batch as a CSV file.

GEThttps://api.trillet.ai/v1/api/batch-calls/{batchId}/export-results

Headers

x-workspace-idstringrequired

Workspace identifier for the API.

Path Parameters

batchIdstringrequired

The batch whose results to export.

The response is a CSV file.

Example

curl -X GET "https://api.trillet.ai/v1/api/batch-calls/batch_7891011121314/export-results" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-workspace-id: YOUR_WORKSPACE_ID" \
  -o batch-results.csv