Claude Message Batches API

API for asynchronously processing large volumes of message requests at reduced cost with 50 percent discount.

API entry from apis.yml

apis.yml Raw ↑
name: Claude Message Batches API
description: API for asynchronously processing large volumes of message requests at reduced cost with
  50 percent discount.
image: https://www.anthropic.com/images/icons/anthropic-icon.png
humanURL: https://docs.anthropic.com/en/api/creating-message-batches
baseURL: https://api.anthropic.com/v1
tags:
- AI
- Asynchronous
- Batch Processing
- Large Language Models
properties:
- type: Documentation
  url: https://docs.anthropic.com/en/api/creating-message-batches
contact:
- type: Support
  url: https://support.anthropic.com
endpoints:
- name: Create Message Batch
  method: POST
  path: /messages/batches
  description: Create a batch of message requests for asynchronous processing
- name: List Message Batches
  method: GET
  path: /messages/batches
  description: List all message batches within a workspace
- name: Retrieve Message Batch
  method: GET
  path: /messages/batches/{message_batch_id}
  description: Retrieve the status and details of a specific message batch
- name: Retrieve Message Batch Results
  method: GET
  path: /messages/batches/{message_batch_id}/results
  description: Stream the results of a completed message batch as a JSONL file
- name: Cancel Message Batch
  method: POST
  path: /messages/batches/{message_batch_id}/cancel
  description: Cancel an in-progress message batch
- name: Delete Message Batch
  method: DELETE
  path: /messages/batches/{message_batch_id}
  description: Delete a completed message batch