Skip to main content
GET
/
anthropic
/
v1
/
messages
/
batches
Error
A valid request URL is required to generate request examples
{
  "data": [
    {
      "id": "<string>",
      "type": "message_batch",
      "request_counts": {
        "processing": 123,
        "succeeded": 123,
        "errored": 123,
        "canceled": 123,
        "expired": 123
      },
      "ended_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "expires_at": "2023-11-07T05:31:56Z",
      "archived_at": "2023-11-07T05:31:56Z",
      "cancel_initiated_at": "2023-11-07T05:31:56Z",
      "results_url": "<string>"
    }
  ],
  "has_more": true,
  "first_id": "<string>",
  "last_id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your provider API key or Bifrost authentication token. Virtual keys (prefixed with sk-bf-) can also be passed here.

Headers

x-model-provider
string

Provider to use (defaults to anthropic)

Query Parameters

page_size
integer
default:20

Maximum number of batches to return

page_token
string

Cursor for pagination

Response

Successful response

data
object[]
has_more
boolean
first_id
string
last_id
string