Try Bifrost Enterprise free for 14 days. Explore now
cURL
curl --request POST \ --url http://localhost:8080/anthropic/v1/messages/batches \ --header 'Content-Type: application/json' \ --data ' { "requests": [ { "custom_id": "<string>", "params": {} } ] } '
{ "id": "<string>", "type": "message_batch", "processing_status": "in_progress", "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>" }
Creates a batch processing job using Anthropic format. Use x-model-provider header to specify the provider.
Provider to use (defaults to anthropic)
Array of batch request items
Show child attributes
Successful response
in_progress
ended
canceling
Was this page helpful?