GET
/
batches
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
}

Authorizations

Authorization
string
header
required

Use the following format for authentication: Bearer <your api key>

Response

200
application/json

Successful response

The response is of type object.