Cohere Models API
The Cohere Models API allows developers to list and retrieve information about available Cohere models, including the Command, Embed, and Rerank model families. It provides details such as model names, versions, supported endpoints, context lengths, and capabilities. This API is useful for programmatically discovering which models are available and selecting the appropriate model for a given task.
Cohere Models API is one of 9 APIs that cohere publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Artificial Intelligence, Machine Learning, and Models. The published artifact set on APIs.io includes API documentation and an OpenAPI specification.
This API exposes 2 operations across 2 paths, and defines 3 schemas. It is described by OpenAPI 3.1.0, at version 2.0.
Requests are made against a single base URL, https://api.cohere.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Cohere Models API declares
1 security scheme
for authenticating requests.
It accepts HTTP bearer tokens (bearerAuth).
By default, every request must be authenticated.
bearerAuth— Bearer authentication using a Cohere API key. Pass the API key in the Authorization header as Bearer .
Paths & Operations 2
Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.
Endpoints for listing and retrieving details about available Cohere models.
Schemas 3
The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are Model (6 properties), ListModelsResponse (2 properties), Error (1 property). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from cohere 8
Other APIs cohere publishes across the network.