---
title: "List Batches"
method: GET
path: "/{provider}/v1/batches"
tags: ["batch"]
---

# List Batches

`GET /{provider}/v1/batches`

Lists 
This is the equivalent of GET https://api.openai.com/v1/batches/
Supports Identical Params as: https://platform.openai.com/docs/api-reference/batch/list

Example Curl
```
curl http://localhost:4000/v1/batches?limit=2     -H "Authorization: Bearer sk-1234"     -H "Content-Type: application/json" 
```

## Path parameters

- `provider` string, nullable, required

## Query parameters

- `limit` integer, nullable
- `after` string, nullable
- `target_model_names` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/flock/apis/litellm-api.md) · [All operations](https://skmtc.net/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/flock/litellm-api/revisions/8fbaab4fc7c5/schema)
