List Models
Returns a list of models available for use. The list contains models from Cohere as well as your fine-tuned models.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
page_size
Maximum number of models to include in a page
Defaults to 20
, min value of 1
, max value of 1000
.
page_token
Page token provided in the next_page_token
field of a previous response.
endpoint
When provided, filters the list of models to only those that are compatible with the specified endpoint.
default_only
When provided, filters the list of models to only the default model to the endpoint. This parameter is only valid when endpoint
is provided.
Response
OK
models
next_page_token
A token to retrieve the next page of results. Provide in the page_token parameter of the next request.