LiteLLM Batches API

The Batches API from LiteLLM — 1 operation(s) for batches.

OpenAPI Specification

litellm-batches-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: LiteLLM Proxy Assistants Batches API
  description: Minimal OpenAPI 3.1 specification for the LiteLLM proxy server, covering chat completions, completions, embeddings, audio, images, moderations, fine-tuning, batches, assistants, vector stores, messages, OCR, rerank, and RAG endpoints.
  version: 1.0.0
servers:
- url: http://localhost:4000
  description: LiteLLM proxy server
tags:
- name: Batches
paths:
  /batches:
    post:
      operationId: createBatch
      summary: Create a batch job
      responses:
        '200':
          description: Batch job created
        default:
          description: Error response
      tags:
      - Batches
x-generated-from: https://docs.litellm.ai/docs/completion
x-generated-by: claude-crawl-2026-05-08