Trillet AI logo

Cancel Batch Job

Cancel one job in a batch.

DELETEhttps://api.trillet.ai/v1/api/batch-calls/{batchId}/calls/{jobId}

Headers

x-workspace-idstringrequired

Workspace identifier for the API.

Path Parameters

batchIdstringrequired

The batch that contains the job.

jobIdstringrequired

The job to cancel. Job ids come from List Batch Calls.

Example

curl -X DELETE "https://api.trillet.ai/v1/api/batch-calls/batch_7891011121314/calls/job_123" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "x-workspace-id: YOUR_WORKSPACE_ID"