For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
DASHBOARDPLAYGROUNDDOCSCOMMUNITYLOG IN
Guides and conceptsAPI ReferenceRelease NotesLLMUCookbooks
Guides and conceptsAPI ReferenceRelease NotesLLMUCookbooks
  • Get Started
    • Introduction
    • Installation
    • Creating a client
    • Playground
    • FAQs
  • Models
    • An Overview of Cohere's Models
    • Embed
    • Rerank
    • Aya
  • Text Generation
    • Introduction to Text Generation at Cohere
    • Using the Chat API
    • Streaming Responses
    • Structured Outputs
    • Predictable Outputs
    • Advanced Generation Parameters
    • Retrieval Augmented Generation (RAG)
      • Managing your Connector
    • Tool Use
    • Tokens and Tokenizers
    • Migrating from the Generate API to the Chat API
    • Summarizing Text
    • Safety Modes
  • Embeddings (Vectors, Search, Retrieval)
    • Introduction to Embeddings at Cohere
    • Semantic Search with Embeddings
    • Multimodal Embeddings
    • Batch Embedding Jobs
  • Going to Production
    • API Keys and Rate Limits
    • Going Live
    • Deprecations
    • How Does Cohere's Pricing Work?
  • Integrations
    • Integrating Embedding Models with Other Tools
    • Cohere and LangChain
    • LlamaIndex and Cohere
  • Deployment Options
    • Overview
    • SDK Compatibility
  • Tutorials
    • Cookbooks
    • LLM University
    • Build Things with Cohere!
  • Responsible Use
    • Security
    • Usage Policy
    • Command A Technical Report
    • Command R and Command R+ Model Card
  • Cohere Labs
    • Cohere Labs Acceptable Use Policy
  • More Resources
    • Cohere Toolkit
    • Datasets
    • Improve Cohere Docs
LogoLogodocs
DASHBOARDPLAYGROUNDDOCSCOMMUNITYLOG IN
On this page
  • Listing your Connectors
  • Authorizing an OAuth 2.0 Connector
  • Updating a Connector
  • Debugging a Connector
Text GenerationRAG Connectors

How to Manage a Cohere Connector

Was this page helpful?
Edit this page
Previous

An Overview of Tool Use with Cohere

Next
Built with

Cohere’s connector parameter was deprecated on September 15, 2025. For information on how to get connector-like functionality, check out our documentation on multi-step tool use.

Once your connector is deployed and registered, there are a couple of features that will help you to manage it.

Listing your Connectors

You can see all the connectors registered under your organization through the Cohere dashboard. Alternatively, you can make a GET request like the one below:

1curl --request GET
2 --url 'https://api.cohere.ai/v1/connectors'
3 --header 'Authorization: Bearer {Cohere API key}'

Authorizing an OAuth 2.0 Connector

If your connector is set up using OAuth 2.0, a user in your organization can authorize the connector through the dashboard by clicking on “connect your account”. Alternatively, you can make a request to the /oauth/authorize endpoint in your application. This will provide a redirect URL that the user can follow to authorize the OAuth application.

1curl --request POST
2 --url 'https://api.cohere.ai/v1/connectors/{connector-id}/oauth/authorize'
3 --header 'Authorization: Bearer {Cohere API key for user wishing to authorize}'

Updating a Connector

You can enable and disable a connector through the dashboard. Additionally, you can update the connector name, URL, auth settings, and handle similar sorts of tasks through the API, as follows:

1curl --request PATCH
2 --url 'https://api.cohere.ai/v1/connectors/{id}'
3 --header 'Authorization: Bearer {Cohere API key}'
4 --header 'Content-Type: application/json'
5 --data '{
6 "name": "new connector name",
7 "url": "https://new-connector-example.com/search",
8 "auth_type": "oauth",
9 "oauth": {
10 "authorize_url": "https://new.com/authorize",
11 "token_url": "https://new.com/access",
12 "scope": "new_scope"
13 },
14 "active": true,
15 }'

Debugging a Connector

To debug issues with a registered connector, you can follow the steps in this section.

Step 1: Make a streaming request to the connector using the Chat API and check the search results for the error. Here’s an example request:

1import cohere
2
3co = cohere.Client("Your API key")
4response = co.chat(
5 message="What is the chemical formula for glucose?",
6 stream=True,
7 connectors=[
8 {"id": "example_connector_id"}
9 ], # this is from the create step
10)

The response in the search results array should contain the error message from the connector:

Example Response JSON
1 "search_results": [
2 {
3 "connector": {
4 "id": "connector_id"
5 },
6 "error_message":"connector error message"
7 }

Step 2: In Cohere’s dashboard you can view and filter the logs from calling your connector. Change the response filter to “error” to see the error messages returned from your connector.