/models
List Models
Returns a list of models available for use.
get/v1/models
Query parameters
page_sizenumber
Maximum number of models to include in a page Defaults to 20, min value of 1, max value of 1000.
page_tokenstring
Page token provided in the next_page_token field of a previous response.
endpoint'chat' | 'embed' | 'classify' | 'summarize' | 'rerank' | 'rate' | 'generate'
One of the Cohere API endpoints that the model can be used with.
When provided, filters the list of models to only those that are compatible with the specified endpoint.
default_onlyboolean
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