Service Overview
Cohere API is the official model generation and retrieval API from Cohere for chat, rerank, embeddings, batch execution, connectors, datasets, and fine-tuning workflows. This Hub entry keeps the service explanation, setup links, and Harbor-safe import path together so operators can review the integration before local credentials and policies are applied.
Cohere API
Service
Model generation, retrieval, and fine-tuning API
Service type
https://api.cohere.com/
Base URL
What This Port Does
- List and retrieve Cohere models with typed path and query inputs.
- Generate reviewed chat, rerank, embedding, tokenization, detokenization, and legacy text calls using bounded JSON request bodies.
- Launch and control reviewed Cohere embed jobs and batches with explicit identifiers.
- Inspect datasets, manage connectors, and administer fine-tuned models with approval on risky writes and deletes.
- Keeps service credentials local to Harbor Node so approval, execution, and audit stay inside the Harbor ecosystem.
Operator Setup
- Create or confirm a Cohere account or project with the API access needed for the actions you plan to enable.
- Import this Hub entry into Harbor, then verify the service base URL and connection settings before testing actions.
- Store the required Bearer token locally in Harbor Node using the Authorization header, then review automatic versus approval-required actions before publish.
- Use the vendor setup guide linked below to create or rotate API keys and align model access with your Harbor policy.
Install
Use in Harbor UI or the import-by-URL route.
https://hub.breakwaterharbor.net/p/cohere/cohere-api
http_api
Local shell
37
Actions
Community
Required tier
Never
Secrets imported
Actions
List Models JSON
{
"slug": "list-models",
"label": "List Models",
"description": "List Cohere models with optional endpoint and pagination filters.",
"method": "GET",
"path": "/v1/models",
"inputs": {
"parameters": [
{
"name": "endpoint",
"in": "query",
"schema": {
"type": "string",
"enum": [
"chat",
"embed",
"rerank"
]
},
"description": "Optional Cohere endpoint filter."
},
{
"name": "default_only",
"in": "query",
"schema": {
"type": "boolean"
},
"description": "Whether to return only the default model for the chosen endpoint."
},
{
"name": "page_size",
"in": "query",
"schema": {
"type": "integer",
"minimum": 1,
"maximum": 1000
},
"description": "Maximum number of models to include in a page."
},
{
"name": "page_token",
"in": "query",
"schema": {
"type": "string"
},
"description": "Pagination token from a previous Cohere response."
}
]
},
"approvalMode": "automatic",
"requestBodyMode": "none",
"resultMode": "json_summary"
}