メッセージバッチの作成
Send a batch of Message creation requests.
The Message Batches API can be used to process multiple Messages API requests at once. Once a Message Batch is created, it begins processing immediately. Batches can take up to 24 hours to complete.
Learn more about the Message Batches API in our user guide
機能サポート
メッセージバッチAPIは、以下のモデルをサポートしています:Claude Haiku 3、Claude Opus 3、Claude Sonnet 3.5、Claude Sonnet 3.5 v2、Claude Sonnet 3.7、Claude Sonnet 4、およびClaude Opus 4。メッセージAPIで利用可能なすべての機能(ベータ機能を含む)は、メッセージバッチAPIを通じて利用できます。
バッチには最大100,000件のリクエストを含めることができ、合計サイズは最大256 MBまでです。
Headers
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.
Body
Response
Successful Response
The response is of type object
.