Trillet AI logo

Preview Batch CSV

Preview the rows in a batch-call CSV before starting the batch.

POSThttps://api.trillet.ai/v1/api/batch-calls/preview

Headers

x-workspace-idstringrequired

Workspace identifier for the API.

Request Body

This endpoint accepts multipart/form-data.

filefilerequired

CSV file to preview. Maximum file size: 20MB.

Example

curl -X POST "https://api.trillet.ai/v1/api/batch-calls/preview" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-workspace-id: YOUR_WORKSPACE_ID" \
  -F "file=@contacts.csv"