创建batch任务
Upload files
Authorizations
Use the following format for authentication: Bearer <your api key>
Body
The ID of an uploaded file that contains requests for the new batch.
"file-jkvytbjtow"
The endpoint to be used for all requests in the batch. Currently /v1/chat/completions is supported.
"/v1/chat/completions"
The time frame within which the batch should be processed. The maximum value is 24 hours, and the minimum value is 336 hours.
"24h"
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.<\br>Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
Response
"batch_rdyqgrcgjg"
"batch"
"/v1/chat/completions"
null
"file-jkvytbjtow"
"24h"
"in_queue"
null
null
1741685413
null
1741771813
null
null
null
null
null
null
null