Cohere
Command models: chat, embeddings and reranking
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API keySecretRequired
Where to find them
- At dashboard.cohere.com/api-keys create a key: trial keys (“Trial”) are free but limited (about 1000 calls a month) and production keys require setting up billing.
- Copy the key.
Tools (1)
Cohere API request
COHERE_SEND_REQUESTAuthenticated call to the Cohere API (https://api.cohere.com). Any endpoint of the API is allowed. Examples: POST /v2/chat {"model": "…", "messages": [{"role": "user", "content": "…"}]}, POST /v2/embed {"model": "…", "texts": ["…"], "input_type": "search_document", "embedding_types": ["float"]}, POST /v2/rerank {"model": "…", "query": "…", "documents": ["…"]}, GET /v1/models?endpoint=chat.
Required scopes
No scopes required
Input
Cohere API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

