Requests cancellation for a batch prediction that is still validating or in progress. A batch that is already cancelling or cancelled is returned unchanged.
Documentation Index
Fetch the complete documentation index at: https://developers.datagrid.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The id of the batch prediction to cancel.
Cancelled or cancelling batch prediction
The batch_prediction object represents an asynchronous batch prediction job.
The object type, which is always batch_prediction.
batch_prediction The id of the batch prediction.
Current batch lifecycle state. Terminal states are completed, failed, expired, and cancelled.
validating, failed, in_progress, finalizing, completed, expired, cancelling, cancelled LLM model to use for every item in the batch.
gemini-2.5-flash, gemini-2.5-flash-lite, gemini-2.5-pro, anthropic.claude-haiku-4-5-20251001-v1:0, anthropic.claude-sonnet-4-5-20250929-v1:0, amazon.nova-2-lite-v1:0 Requested completion window.
24h ISO timestamp when the batch was created.
ISO timestamp when the batch completion window expires.
ISO timestamp when the batch entered in_progress, or null if it has not.
ISO timestamp when the batch entered finalizing, or null if it has not.
ISO timestamp when the batch reached completed, or null otherwise.
ISO timestamp when the batch reached failed, or null otherwise.
ISO timestamp when cancellation was requested, or null otherwise.
ISO timestamp when the batch reached cancelled, or null otherwise.
ISO timestamp when the batch reached expired, or null otherwise.
The sum of processing, succeeded, errored, canceled, and expired equals total.
Optional metadata map with up to 16 entries. Metadata keys must be 64 characters or fewer and values must be 512 characters or fewer.
Batch-level terminal error details for failed, cancelled, or expired batches; otherwise null.
Relative URL for the NDJSON results stream once the batch is terminal. This becomes null after retained result lines are cleaned up.