JavaScript SDK (v0.56.0)Reference
ModelListOptions
Options for listing models.
Interface: ModelListOptions
Options for listing models.
Extends
Properties
category_slugs?
optionalcategory_slugs:string[]
The list of category slugs to filter models.
cursor?
optionalcursor:string
Cursor for pagination
Inherited from
owner?
optionalowner:string
Name of the model's owner to list models for.
page_size?
optionalpage_size:number
Number of items per page
Inherited from
signal?
optionalsignal:AbortSignal
Optional AbortSignal to cancel the call.
Inherited from
sort_by?
optionalsort_by:ModelsSortBy
The sorting criteria
sort_direction?
optionalsort_direction:SortDirection
The sorting direction