GET
/
v1
/
messages
/
batches
베타 기간 동안 이 엔드포인트를 사용하려면 anthropic-beta 헤더에 message-batches-2024-09-24 값을 전달해야 합니다

Headers

anthropic-beta
string[]

Optional header to specify the beta version(s) you want to use.

To use multiple betas, use a comma separated list like beta1,beta2 or specify the header multiple times for each beta.

anthropic-version
string
required

The version of the Anthropic API you want to use.

Read more about versioning and our version history here.

x-api-key
string
required

Your unique API key for authentication.

This key is required in the header of all API requests, to authenticate your account and access Anthropic's services. Get your API key through the Console. Each key is scoped to a Workspace.

Query Parameters

before_id
string

ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object.

after_id
string

ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object.

limit
integer
default: 20

Number of items to return per page.

Defaults to 20. Ranges from 1 to 100.

Response

200 - application/json
data
object[]
required
has_more
boolean
required

Indicates if there are more results in the requested page direction.

first_id
string | null
required

First ID in the data list. Can be used as the before_id for the previous page.

last_id
string | null
required

Last ID in the data list. Can be used as the after_id for the next page.