Error
A valid request URL is required to generate request examples{}{
"error": {
"code": 123,
"message": "<string>",
"status": "<string>",
"details": [
{
"@type": "<string>",
"fieldViolations": [
{
"description": "<string>"
}
]
}
]
}
}{
"error": {
"code": 123,
"message": "<string>",
"status": "<string>",
"details": [
{
"@type": "<string>",
"fieldViolations": [
{
"description": "<string>"
}
]
}
]
}
}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}
Error
A valid request URL is required to generate request examples{}{
"error": {
"code": 123,
"message": "<string>",
"status": "<string>",
"details": [
{
"@type": "<string>",
"fieldViolations": [
{
"description": "<string>"
}
]
}
]
}
}{
"error": {
"code": 123,
"message": "<string>",
"status": "<string>",
"details": [
{
"@type": "<string>",
"fieldViolations": [
{
"description": "<string>"
}
]
}
]
}
}Authorizations
BearerAuthBasicAuthVirtualKeyAuthApiKeyAuth
Bearer token authentication. Use your provider API key or Bifrost authentication token.
Virtual keys (prefixed with sk-bf-) can also be passed here.
Path Parameters
Batch identifier, optionally with a :cancel action suffix.
Response
Cancellation accepted.
The response is of type object.
Was this page helpful?
⌘I

