cURL
curl --request GET \ --url https://api.siliconflow.cn/v1/batches \ --header 'Authorization: Bearer <token>'
{ "object": "list", "data": [ { "id": "batch_id", "object": "batch", "endpoint": "/v1/chat/completions", "errors": null, "input_file_id": "file-id", "completion_window": "24h", "status": "in_queue", "output_file_id": null, "error_file_id": null, "created_at": 1749023566, "in_progress_at": null, "expires_at": 1749109966, "finalizing_at": null, "completed_at": null, "failed_at": null, "expired_at": null, "cancelling_at": null, "cancelled_at": null, "request_counts": null, "metadata": { "batch_description": "", "name": "batch" }, "file_name": "requests_name.json" } ], "first_id": "first_batch_id", "last_id": "last_batch_id", "has_more": false }
List your organization’s batches.
Use the following format for authentication: Bearer <your api key>
Successful response
"list"
Show child attributes
"first_batch_id"
"last_batch_id"
false