List Models
List Models endpoint with filtering, pagination, and sorting.
Supports filter parameters for various criteria (including peft, custom fields), pagination (page, page_size), sorting, and workspace filtering via query parameter.
Path parameters
workspace
Query parameters
page
Page number.
page_size
Page size.
sort
The field to sort by. To sort in decreasing order, use - in front of the field name.
verbose
Whether to include full spec details
filter
Filter models by name, project, workspace, base_model, adapters, finetuning_type, prompt, lora_enabled, description, created_at, and updated_at.
Response
Return a list of models
data
pagination
Pagination information.
sort
The field on which the results are sorted.
filter
Filtering information.
Errors
422
Unprocessable Entity Error