---
title: "List Anthropic Message Batches"
method: GET
path: "/v1/messages/batches"
tags: ["Anthropic"]
---

# List Anthropic Message Batches

`GET /v1/messages/batches`

## Request

- Base URL: `https://api.nano-gpt.com/api`
- URL: `https://api.nano-gpt.com/api/v1/messages/batches`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

List native Message Batches visible to the supplied API key, newest first. Use after_id with last_id for older pages or before_id with first_id for newer pages; do not combine the cursors.

## Query parameters

- `limit` integer
- `after_id` string
- `before_id` string

## Response `200`

Message Batch page

- AnthropicMessageBatchList
  - `object` 'list', required
  - `data` AnthropicMessageBatch[], required
    - `id` string, required
    - `type` 'message_batch', required
    - `processing_status` 'in_progress' | 'canceling' | 'ended', required
    - `request_counts` AnthropicMessageBatchRequestCounts, required
      - `processing` integer, required
      - `succeeded` integer, required
      - `errored` integer, required
      - `canceled` integer, required
      - `expired` integer, required
    - `created_at` string, date-time, required
    - `expires_at` string, date-time, required
    - `ended_at` string, nullable, required
    - `archived_at` string, nullable, required
    - `cancel_initiated_at` string, nullable, required
    - `results_url` string, uri, nullable, required
  - `has_more` boolean, required
  - `first_id` string, nullable, required
  - `last_id` string, nullable, required

## Other responses

- `400`: Anthropic Messages API error response
- `401`: Anthropic Messages API error response

## Changes

- **2026-11-03** `cc8b07d75689`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nano-gpt/apis/nanogpt-api/changes/v1/messages/batches/get.md)

---

[API](https://skmtc.dev/nano-gpt/apis/nanogpt-api.md) - [All operations](https://skmtc.dev/nano-gpt/apis/nanogpt-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nano-gpt/apis/nanogpt-api/revisions/cc8b07d75689?raw)
