GET /v1/models

Returns a list of models available for use. The list contains models from Cohere as well as your fine-tuned models.

Servers

Query parameters

Name Type Required Description
default_only Boolean No

When provided, filters the list of models to only the default model to the endpoint. This parameter is only valid when endpoint is provided.

page_size Number No

Maximum number of models to include in a page Defaults to 20, min value of 1, max value of 1000.

endpoint String No

When provided, filters the list of models to only those that are compatible with the specified endpoint.

Possible values:

  • "chat"
  • "embed"
  • "generate"
  • "rate"
  • "classify"
  • "summarize"
  • "rerank"
page_token String No

Page token provided in the next_page_token field of a previous response.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.