Skip to main content
POST
/
openai
/
v1
/
batches
Error
A valid request URL is required to generate request examples
{
  "id": "<string>",
  "object": "<string>",
  "endpoint": "<string>",
  "input_file_id": "<string>",
  "completion_window": "<string>",
  "request_counts": {
    "total": 123,
    "completed": 123,
    "failed": 123,
    "succeeded": 123,
    "expired": 123,
    "canceled": 123,
    "pending": 123
  },
  "metadata": {},
  "created_at": 123,
  "expires_at": 123,
  "output_file_id": "<string>",
  "error_file_id": "<string>",
  "processing_status": "<string>",
  "results_url": "<string>",
  "operation_name": "<string>",
  "extra_fields": {
    "request_type": "<string>",
    "model_requested": "<string>",
    "model_deployment": "<string>",
    "latency": 123,
    "chunk_index": 123,
    "raw_request": {},
    "raw_response": {},
    "cache_debug": {
      "cache_hit": true,
      "cache_id": "<string>",
      "hit_type": "<string>",
      "requested_provider": "<string>",
      "requested_model": "<string>",
      "provider_used": "<string>",
      "model_used": "<string>",
      "input_tokens": 123,
      "threshold": 123,
      "similarity": 123
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getbifrost.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

Body

application/json
model
string
required

Model in provider/model format

input_file_id
string

OpenAI-style file ID

requests
object[]

Anthropic-style inline requests

endpoint
enum<string>
Available options:
/v1/chat/completions,
/v1/embeddings,
/v1/completions,
/v1/responses,
/v1/messages
completion_window
string

e.g., "24h"

metadata
object

Response

Successful response

id
string
object
string
endpoint
string
input_file_id
string
completion_window
string
status
enum<string>
Available options:
validating,
failed,
in_progress,
finalizing,
completed,
expired,
cancelling,
canceled,
ended
request_counts
object
metadata
object
created_at
integer<int64>
expires_at
integer<int64>
output_file_id
string
error_file_id
string
processing_status
string
results_url
string
operation_name
string
extra_fields
object

Additional fields included in responses