inferenceClient.batches.list()
Generated on 13 Nov 2026
from DoTs version
v1.24.0
Usage
inferenceClient.batches.list(query?: Record<string, any>): Promise<any>Description
Returns a cursor-paginated list of batch jobs, ordered newest first. Use limit to control page size and after to page forward using the last_id from the previous response.
Parameters
afterstring optionalExample:
7b2e9c1a-6f4d-4d9b-a0f1-5c4b7e2f8a12Cursor for pagination. Pass the
last_idvalue from the previous response to fetch the next page. Omit for the first page.limitinteger optionalExample:
20Maximum number of batches to return per page.
statusstring optionalOptional filter restricting results to batches in the given lifecycle state.
Request Sample
Response Example
More Information
See /v1/batches in the API reference for additional detail on responses, headers, parameters, and more.