v1

latestOpenAPI 3.1.0Apache 2.02026-07-264001921002.3 KB
GenAI Integration

Cancel a batch job (Gemini format)

Cancels a batch job. Gemini conventionally sends the request as /v1beta/batches/{batch_id}:cancel; the router matches the :cancel suffix into the batch_id path parameter.

post/genai/v1beta/batches/{batch_id}

Path parameters

batch_idstring required

Batch identifier, optionally with a :cancel action suffix.

Response

Cancellation accepted.

object required