Jobs & Batches

Cancel a batch inference run

Cancel an in-flight batch. Only batches in accumulating or submitted status can be cancelled.

post/v1/batches/{id}/cancel

Request

  • Base URL: https://api.talonic.com
  • URL: https://api.talonic.com/v1/batches/{id}/cancel
  • Auth: HTTP bearer

Path parameters

idstring uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890

Resource UUID.

Response

Batch cancelled.

idstring uuid required
status'accumulating' | 'submitted' | 'in_progress' | 'completed' | 'failed' | 'expired' required
provider'anthropic' | 'bedrock' required
item_countinteger required
succeeded_countinteger required
errored_countinteger required
expired_countinteger required
submitted_atstring date-time nullable
completed_atstring date-time nullable
error_messagestring nullable
created_atstring date-time required
updated_atstring date-time

Example response

{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "status": "completed",
  "provider": "anthropic",
  "submitted_at": "2026-04-25T14:30:00.000Z",
  "completed_at": "2026-04-25T14:30:00.000Z",
  "created_at": "2026-04-25T14:30:00.000Z",
  "updated_at": "2026-04-25T14:30:00.000Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.