Endpoint
GET https://api.graine.ai/api/v1/batches/{batch_id}/export.csv
Downloads all contacts in a batch as a CSV file. The file includes every call_variables key from the uploaded contact data plus operational result columns.
Path Parameters
Response
Content-Type: text/csv
The CSV columns are dynamic — the contact data columns come from the call_variables keys you uploaded.
Fixed columns (always present)
Dynamic columns (from your data)
The columns from call_variables of your contacts are also included. For example, if your contacts have callee_name, current_plan, renewal_date, and premium in their call_variables, those four columns appear in the CSV as well.
Example CSV
Example Request
Export is available at any time — even mid-batch. Contacts still in-flight will show their current status (e.g. pending, dispatched).