Skip to content

IntegrationsArtificial Intelligence

Cohere API integration

Put Cohere in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

Elaichi

From the team behind Truto

Control plane for MCP servers

Put your team’s own apps to work in their AI. Connect an app once, and everyone’s AI can use it.

Works in

  • Each person’s AI gets exactly their access. Nothing more.
  • Share an app with your team, not a password.
  • Every call is checked and logged.

No credit card required · 1000+ apps

01Proxy API

Call the Cohere API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the Cohere API. You call us, we call Cohere, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APICohere

GEThttps://api.truto.one/proxy/batches?integrated_account_id=…

  • GET/proxy/datasets
  • GET/proxy/models
  • GET/proxy/connectors

Cohere’s own response, passed back

02MCP server

Cohere tools for any AI agent. Any MCP client, or the agent you build.

Whatever your agent runs on, it gets Cohere tools for each customer’s account: through an MCP server, or straight from the tools API.

On every plan, including Free.

What an agent can doin Cohere
  • ChatCreate
  • Chat v 1Create
  • PromptCreate
  • RerankCreate
  • EmbedCreate
  • Embed jobsList, Get one, Create, Cancel
  • Audio transcriptionCreate
  • BatchesList, Get one, Create, Cancel
  • DatasetsList, Get one, Create, Delete, Get usage
  • TokenizeCreate
  • DetokenizeCreate
  • ModelsList, Get one
  • ClassifyCreate
  • GenerateCreate
  • SummarizeCreate
  • ConnectorsList, Get one, Create, Update, Delete, Oauth authorize
  • Finetuned modelsList, Get one, Create, Update, Delete
  • Finetuned model eventsList
  • Finetuned model metricsList
  • ApiKeys check
Show tool names40 tools, for developers
  • create_a_cohere_chatGenerate a text response from a Cohere model given a chronological list of chat messages. Returns: id, finish_reason, message, usage, logprobs. Required: model, messages, stream.
  • create_a_cohere_chat_v_1Generate a text response to a user message in Cohere. Returns: text, generation_id, response_id, citations, finish_reason. Required: message, stream.
  • create_a_cohere_promptConstruct the text prompt that Cohere would send to the model for a v2 chat request without running generation. Returns: prompt. Required: model, messages. The request body matches Chat v2; the stream field is ignored.
  • create_a_cohere_rerankRerank a list of documents against a search query in Cohere, producing an ordered array with each text assigned a relevance score. Returns: results, id, meta. Required: model, query, documents. Up to 1,000 documents recommended per request; longer documents are auto-truncated to max_tokens_per_doc.
  • create_a_cohere_embedGenerate text and image embeddings in Cohere using the v2 Embed API. Returns: id, embeddings, texts, images, meta. Required: model, input_type. Maximum 96 texts per call; image embeddings supported with Embed v3.0 and newer.
  • create_a_cohere_embed_jobCreate an async embed job in Cohere for a Dataset of type embed-input. The completed job produces a new Dataset of type embed-output with the original text entries and corresponding embeddings. Returns: job_id, meta. Required: model, dataset_id, input_type.
  • list_all_cohere_embed_jobsList all embed jobs in Cohere for the authenticated user. Returns each embed job record including job_id, status, created_at, input_dataset_id, model, name, output_dataset_id, truncate, and meta.
  • get_single_cohere_embed_job_by_idGet a single embed job by id in Cohere. Returns: job_id, status, created_at, input_dataset_id, model, truncate, name, output_dataset_id, meta. Required: id.
  • cohere_embed_jobs_cancelCancel an active embed job in Cohere. Users are charged for embeddings processed up to the cancellation point and partial results are not available after cancellation. Returns an empty 200 response on success. Required: embed_job_id.
  • create_a_cohere_audio_transcriptionTranscribe an audio file in Cohere. Returns the transcribed text. Required: model, language, file.
  • create_a_cohere_batchCreate and execute a batch in Cohere from an uploaded dataset of requests. Returns the batch object including its id, name, input_dataset_id, model, created_at, and updated_at. Required: name, input_dataset_id, model.
  • list_all_cohere_batchesList batches for the current authenticated user in Cohere. Returns each batch with its id, name, input_dataset_id, model, created_at, and updated_at. Max 1000 per page.
  • get_single_cohere_batch_by_idGet a single batch by id in Cohere. Returns the batch object including its id, name, input_dataset_id, model, created_at, and updated_at. Required: id.
  • cohere_batches_cancelCancel an in-progress batch in Cohere by batch_id. Returns an empty 204 response on success. Required: batch_id.
  • create_a_cohere_datasetCreate a Cohere dataset by uploading a file via multipart form. Returns: id, name, dataset_type, validation_status, created_at, warnings. Required: name, type, data. The only valid type is embed-input.
  • list_all_cohere_datasetsList Cohere datasets with optional filtering by type, validation status, and date range. Returns: id, name, dataset_type, validation_status, created_at, warnings.
  • get_single_cohere_dataset_by_idGet a single Cohere dataset by id. Returns: id, name, dataset_type, validation_status, created_at, warnings. Required: id.
  • delete_a_cohere_dataset_by_idDelete a Cohere dataset by id. Returns an empty 204 response on success. Required: id.
  • cohere_datasets_get_usageView the dataset storage usage for your Cohere organization. Returns: organization_usage. Each organization can have up to 10GB of storage across all users.
  • create_a_cohere_tokenizeTokenize input text in Cohere using byte-pair encoding (BPE). Returns: tokens, token_strings, meta. Required: text, model. Text length must be between 1 and 65536 characters.
  • create_a_cohere_detokenizeDetokenize a list of byte-pair encoding tokens back into their text representation in Cohere. Returns: text, meta. Required: tokens, model.
  • list_all_cohere_modelsList models available for use in Cohere. Returns each model's name, endpoints, finetuned, context_length, is_deprecated, tokenizer_url, default_endpoints, features, and sampling_defaults. Optional filters: endpoint (filter by compatible API endpoint) and default_only (only default models for the specified endpoint, requires endpoint).
  • get_single_cohere_model_by_idGet details of a single Cohere model by its name (id). Returns: name, is_deprecated, endpoints, finetuned, context_length, tokenizer_url, default_endpoints, features, sampling_defaults. Required: id.
  • create_a_cohere_classifyClassify up to 96 text inputs in Cohere by predicting the best-fitting label for each input using provided text+label example pairs as reference. Returns: id, classifications, meta. Required: inputs. Fine-tuned models do not require the examples parameter.
  • create_a_cohere_generateGenerate realistic text from a given prompt using Cohere's legacy Generate API. Returns: id, generations (list of generated results), prompt, and meta. Required: prompt, stream. This API is legacy and no longer maintained; migrate to the Chat API.
  • create_a_cohere_summarizeGenerate a summary in English for a given text using the Cohere Summarize API (Legacy). Returns: id, summary, meta. Required: text. Input text must be 250–50,000 characters and currently only English is supported.
  • cohere_api_keys_checkCheck that a Cohere API key is valid and active. Returns: valid, organization_id, owner_id.
  • list_all_cohere_connectorsList Cohere connectors ordered by descending creation date (newer first). Returns: id, name, url, description, excludes, oauth, active, continue_on_failure, service_auth. Max 100 per page.
  • create_a_cohere_connectorCreate a new Cohere connector. The connector is tested during registration and registration is cancelled if the test fails. Returns: id, name, url, description, excludes, oauth, active, continue_on_failure, service_auth. Required: name, url.
  • get_single_cohere_connector_by_idGet a single Cohere connector by id. Returns: id, name, url, description, excludes, oauth, active, continue_on_failure, service_auth. Required: id.
  • update_a_cohere_connector_by_idUpdate a Cohere connector by id. Omitted fields are not updated. Returns: id, name, url, description, excludes, oauth, active, continue_on_failure, service_auth. Required: id.
  • delete_a_cohere_connector_by_idDelete a Cohere connector by id. Returns an empty 204 response on success. Required: id.
  • cohere_connectors_oauth_authorizeAuthorize a Cohere connector via OAuth 2.0 for the connector OAuth app. Returns: redirect_url. Required: connector_id.
  • list_all_cohere_finetuned_modelsList fine-tuned models in Cohere that the caller has access to. Returns each model with id, name, status, settings, and created_at. Supports sorting by created_at.
  • create_a_cohere_finetuned_modelCreate a new fine-tuned model in Cohere with a name and training settings (dataset, hyperparameters). Training runs asynchronously. Returns the model with id, name, status, settings, and created_at. Required: name, settings.
  • get_single_cohere_finetuned_model_by_idGet a single fine-tuned model in Cohere by id. Returns the model with id, name, status, settings, and created_at. Required: id.
  • update_a_cohere_finetuned_model_by_idUpdate a fine-tuned model in Cohere by id with a new name and settings. Returns the updated model with id, name, status, settings, and created_at. Required: id, name, settings.
  • delete_a_cohere_finetuned_model_by_idDelete a fine-tuned model in Cohere by id. This operation is irreversible. Returns an empty 204 response on success. Required: id.
  • list_all_cohere_finetuned_model_eventsList events that occurred during the life-cycle of a Cohere fine-tuned model, ordered by creation time with the most recent first. Returns: created_at. Required: finetuned_model_id.
  • list_all_cohere_finetuned_model_metricsList training step metrics for a Cohere fine-tuned model, ordered by step number with the most recent step first. Returns a list of step metric objects containing training evaluation data for each step. Required: finetuned_model_id.

AMCP serverno code

For any MCP client

One URL per connected Cohere account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.

Server URLhttps://api.truto.one/mcp/<token>

BTools APIfor developers

For the agent you build

One call returns every Cohere tool for an account, with its description and JSON schema, ready for any LLM framework.

GEThttps://api.truto.one/integrated-account/<id>/tools

Tools come as JSON schema, so they plug into any agent framework.

  • Always up to date

    Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.

  • You set the limits

    Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.

  • One customer each

    Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.

  • Tools you can edit

    Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.

  • Sign-in handled

    Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.

  • Access can expire

    Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.

How MCP servers work

03Unified API

Call Cohere the same way as your other apps. One mapping to go.

A unified API gives every app in a category the same call and the same data shape. Cohere is not in one yet. Build your own model, or ask us.

Cohereon Truto
  1. Sign-in and tokensTruto handles themReady
  2. Proxy APIWorks today, on FreeReady
  3. Unified APIOne mapping to goTo do

Then: one call for every app

  • Path 1 Self-serve

    Build your own model

    • Mapping editor, with version history
    • Live for every connected account
    • No deploy

    Get a free sandbox

  • Path 2 We do it

    Ask Truto

    • Tell us the Cohere data you need
    • We add the mapping

    Talk to us

  • Price Add-on

    $499 per category a month

    • 30-day trial on Free
    • Your own unified models: Pro add-on, $499 a month

    See pricing

04Sync and webhooks

Sync Cohere data on a schedule. Sent to your webhook.

A sync job reads Cohere records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

05Custom actions

Add any Cohere endpoint. With the Truto CLI.

Need a Cohere endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any Cohere path through the Custom API.

On every plan, including Free. Truto CLI

For your own AI tools

Use Cohere in ChatGPT, Claude or Cursor with Elaichi.

Truto puts Cohere in the product you build. To use Cohere yourself, in the AI your team already has, we recommend Elaichi.

For your product

Ship Cohere tools in your product

Give the AI in your product access to each customer’s own Cohere account, with one MCP server per connected account.

Get a sandbox with Cohere

Rather talk it through? Book a demo

Elaichi

For your own team

Use Cohere in your own AI

Connect your company’s Cohere once, then ask in the AI you already use, with exactly your own access.

Works in

Cohere on Elaichi

From the team behind Truto · 14-day free trial

Use cases

Why integrate with Cohere.

  1. Ship AI features without hosting your own models

    Give your customers grounded chat, semantic search, and classification powered by Cohere's Command and Embed models, while Truto handles authentication and request lifecycle so your team focuses on the product experience.

  2. Let customers bring their own Cohere account

    Enterprise buyers often have existing Cohere contracts and data residency requirements. Truto lets end users connect their own Cohere API keys so usage, billing, and compliance stay under their control.

  3. Power multi-tenant RAG pipelines

    Run per-customer embed jobs and rerank calls through a single integration layer, so each tenant's data stays isolated and you can scale ingestion without building bespoke job orchestration.

  4. Add audit-ready generative AI to regulated workflows

    Cohere's Chat API returns citations and response IDs — ideal for LegalTech, FinTech, and healthcare SaaS that need to prove why the model produced a given answer.

  5. Consolidate AI vendor management for your customers

    Offer Cohere alongside other AI providers in your product with a consistent connection experience, letting customers choose the model provider that fits their policies and pricing.

What you can build

Ship these with Truto and Cohere.

  • Grounded in-app chatbot with citations

    Use the Chat API to answer end-user questions against their own knowledge base and render Cohere's citation array as clickable source references in your UI.

  • AI-powered semantic search upgrade

    Wrap your existing keyword search with the Rerank endpoint to reorder up to 1,000 candidate documents by true semantic relevance without migrating your database.

  • Bulk document embedding pipeline

    Kick off asynchronous embed jobs on customer datasets, poll job status, and stream vectors into your search index once complete — all through a consistent integration surface.

  • Zero-shot ticket and content classification

    Route support tickets, tag content, or score sentiment using the Classify endpoint with a handful of labeled examples, no model training required.

  • Call recording insights generator

    Transcribe customer calls via the Audio Transcription endpoint and pipe the text into Chat to extract action items, summaries, or risk signals.

  • Enterprise connector-backed answers

    Let customers register and OAuth-authorize Cohere Connectors so chat responses can pull live data from their Jira, Slack, or Drive without you building each scraper.

Security

Your customers’ Cohere data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Truto managed OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s Cohere account

    Use Truto’s frontend SDK to connect your customer’s Cohere account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call Cohere

    Truto’s Proxy API is a 1-to-1 mapping of the Cohere API. You call us, we call Cohere, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate Cohere’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about Cohere on Truto.

How do end users authenticate their Cohere account?

End users provide a Cohere API key, which Truto stores securely and injects into every request. You can validate a key at connection time using the API keys check endpoint before allowing further calls.

Which Cohere endpoints does Truto support?

Truto exposes Cohere's Chat (v1 and v2), Rerank, Embed, Embed Jobs, Classify, Generate, Summarize, Tokenize/Detokenize, Datasets, Batches, Audio Transcription, Models, Fine-tuned Models, and Connectors endpoints as first-class tools.

Can I run long-running embedding jobs without hitting timeouts?

Yes. Use the async Embed Jobs flow: create a dataset, start an embed job, then poll job status via the get-by-id endpoint or cancel it if needed. This avoids synchronous timeouts on large corpora.

How do I handle rate limits and quotas?

Rate limits are enforced by Cohere per API key and vary by endpoint and account tier. Truto passes through Cohere's rate limit responses so you can implement retries and backoff in your integration logic.

Can customers use their own fine-tuned models?

Yes. Truto supports listing, creating, updating, and deleting fine-tuned models, as well as fetching training events and metrics, so customers can manage custom models tied to their own Cohere account.

How do I enable Cohere Connectors for RAG?

Use the Connectors endpoints to create and manage connector definitions, and trigger the OAuth authorize flow so end users can grant Cohere access to their external tools. Connectors can then be referenced in Chat calls to ground responses in live data.

Cohere

Get Cohere integrated into your app

Sign up free, connect a test Cohere account and make your first call today. No card and no sales call.