> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Cohere

> 14 actions available for Cohere through StackOne. Use via Actions RPC, Toolset SDK, MCP, or A2A.

<div className="not-prose" style={{ display: 'flex', alignItems: 'center', gap: '12px', marginBottom: '24px' }}>
  <img src="https://stackone-logos.com/api/cohere/filled/png" alt="Cohere" className="connector-page-icon" style={{ width: '48px', height: '48px', borderRadius: '10px', padding: '2px' }} />

  <div>
    <div style={{ fontSize: '24px', fontWeight: '600' }}>Cohere</div>
    <div className="connector-page-subtitle" style={{ fontSize: '14px' }}>14 actions · 1 auth method</div>

    <div style={{ display: 'flex', flexWrap: 'wrap', gap: '6px', marginTop: '8px' }}>
      <span className="connector-page-tag-preview" style={{ display: 'inline-block', padding: '2px 8px', borderRadius: '4px', fontSize: '11px', fontWeight: '500' }}>Preview</span>
      <span className="connector-page-category-tag" style={{ display: 'inline-block', padding: '2px 8px', borderRadius: '4px', fontSize: '11px', fontWeight: '500' }}>AI</span>
    </div>
  </div>
</div>

## Authentication

<Columns cols={2}>
  <Card title="API Key">
    Connect your Cohere account using an API Key from the Cohere Dashboard.

    Guides: [Connector Profile](/connectors/cohere/guides/connector-profile/api-key), [Link Account](/connectors/cohere/guides/link-account/api-key)
  </Card>
</Columns>

<div className="connector-meta-library-section">
  <div className="connector-meta-library-title">Actions</div>

  <div className="connector-actions-controls not-prose" data-connector-actions-controls>
    <div className="connector-actions-controls__row">
      <input type="search" className="connector-actions-search" data-connector-actions-search placeholder="Search actions" aria-label="Search actions" />
    </div>
  </div>

  <div className="meta-library-count" data-connector-actions-count>14 actions</div>

  <div className="not-prose meta-library-table-container" data-connector-actions-table>
    <div className="connector-meta-library-grid" style={{ gridTemplateColumns: '200px 1fr' }}>
      <div className="connector-meta-library-row">
        <div className="meta-library-grid-header-cell">Action</div>
        <div className="meta-library-grid-header-cell">Description</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_list_models" data-action-label="List Models" data-action-scopes="">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div style={{ fontWeight: '500' }}>List Models</div>
          <div style={{ marginTop: '4px' }}><button type="button" className="connector-page-code-button" data-copy="cohere_list_models" aria-label="Copy cohere_list_models"><code className="connector-page-code">cohere\_list\_models</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">List available Cohere models</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_get_model" data-action-label="Get Model" data-action-scopes="">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div style={{ fontWeight: '500' }}>Get Model</div>
          <div style={{ marginTop: '4px' }}><button type="button" className="connector-page-code-button" data-copy="cohere_get_model" aria-label="Copy cohere_get_model"><code className="connector-page-code">cohere\_get\_model</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Get details of a specific model</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_chat" data-action-label="Chat" data-action-scopes="">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div style={{ fontWeight: '500' }}>Chat</div>
          <div style={{ marginTop: '4px' }}><button type="button" className="connector-page-code-button" data-copy="cohere_chat" aria-label="Copy cohere_chat"><code className="connector-page-code">cohere\_chat</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Generate a text response to a conversation</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_embed" data-action-label="Embed" data-action-scopes="">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div style={{ fontWeight: '500' }}>Embed</div>
          <div style={{ marginTop: '4px' }}><button type="button" className="connector-page-code-button" data-copy="cohere_embed" aria-label="Copy cohere_embed"><code className="connector-page-code">cohere\_embed</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Generate embeddings for text inputs</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_create_embed_job" data-action-label="Create Embed Job" data-action-scopes="">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div style={{ fontWeight: '500' }}>Create Embed Job</div>
          <div style={{ marginTop: '4px' }}><button type="button" className="connector-page-code-button" data-copy="cohere_create_embed_job" aria-label="Copy cohere_create_embed_job"><code className="connector-page-code">cohere\_create\_embed\_job</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create an async embed job for a dataset</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_list_embed_jobs" data-action-label="List Embed Jobs" data-action-scopes="">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div style={{ fontWeight: '500' }}>List Embed Jobs</div>
          <div style={{ marginTop: '4px' }}><button type="button" className="connector-page-code-button" data-copy="cohere_list_embed_jobs" aria-label="Copy cohere_list_embed_jobs"><code className="connector-page-code">cohere\_list\_embed\_jobs</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">List all embed jobs</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_rerank" data-action-label="Rerank" data-action-scopes="">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div style={{ fontWeight: '500' }}>Rerank</div>
          <div style={{ marginTop: '4px' }}><button type="button" className="connector-page-code-button" data-copy="cohere_rerank" aria-label="Copy cohere_rerank"><code className="connector-page-code">cohere\_rerank</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Rerank documents by relevance to a query</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_create_dataset" data-action-label="Create Dataset" data-action-scopes="">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div style={{ fontWeight: '500' }}>Create Dataset</div>
          <div style={{ marginTop: '4px' }}><button type="button" className="connector-page-code-button" data-copy="cohere_create_dataset" aria-label="Copy cohere_create_dataset"><code className="connector-page-code">cohere\_create\_dataset</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create a dataset by uploading a file</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_list_datasets" data-action-label="List Datasets" data-action-scopes="">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div style={{ fontWeight: '500' }}>List Datasets</div>
          <div style={{ marginTop: '4px' }}><button type="button" className="connector-page-code-button" data-copy="cohere_list_datasets" aria-label="Copy cohere_list_datasets"><code className="connector-page-code">cohere\_list\_datasets</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">List all datasets</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_get_dataset" data-action-label="Get Dataset" data-action-scopes="">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div style={{ fontWeight: '500' }}>Get Dataset</div>
          <div style={{ marginTop: '4px' }}><button type="button" className="connector-page-code-button" data-copy="cohere_get_dataset" aria-label="Copy cohere_get_dataset"><code className="connector-page-code">cohere\_get\_dataset</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Get details of a dataset</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_get_dataset_usage" data-action-label="Get Dataset Usage" data-action-scopes="">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div style={{ fontWeight: '500' }}>Get Dataset Usage</div>
          <div style={{ marginTop: '4px' }}><button type="button" className="connector-page-code-button" data-copy="cohere_get_dataset_usage" aria-label="Copy cohere_get_dataset_usage"><code className="connector-page-code">cohere\_get\_dataset\_usage</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Get organization storage usage for datasets</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_delete_dataset" data-action-label="Delete Dataset" data-action-scopes="">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div style={{ fontWeight: '500' }}>Delete Dataset</div>
          <div style={{ marginTop: '4px' }}><button type="button" className="connector-page-code-button" data-copy="cohere_delete_dataset" aria-label="Copy cohere_delete_dataset"><code className="connector-page-code">cohere\_delete\_dataset</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Delete a dataset</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_tokenize" data-action-label="Tokenize" data-action-scopes="">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div style={{ fontWeight: '500' }}>Tokenize</div>
          <div style={{ marginTop: '4px' }}><button type="button" className="connector-page-code-button" data-copy="cohere_tokenize" aria-label="Copy cohere_tokenize"><code className="connector-page-code">cohere\_tokenize</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Convert text to tokens</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="cohere_detokenize" data-action-label="Detokenize" data-action-scopes="">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div style={{ fontWeight: '500' }}>Detokenize</div>
          <div style={{ marginTop: '4px' }}><button type="button" className="connector-page-code-button" data-copy="cohere_detokenize" aria-label="Copy cohere_detokenize"><code className="connector-page-code">cohere\_detokenize</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Convert tokens back to text</div>
      </div>
    </div>
  </div>
</div>

## Getting Started

<Steps>
  <Step title="Create or Select a Project">
    Set up a new project or select an existing one. See the [Projects Guide](/guides/managing-projects).
  </Step>

  <Step title="Configure the Connector">
    Enable the connector and set up a connector profile in your project. See [Managing Connectors](/guides/explore-connectors).

    <Columns cols={2}>
      <Card title="Connector Profile" href="/connectors/cohere/guides/connector-profile/api-key" icon="https://stackone-logos.com/api/cohere/filled/png" horizontal>
        Cohere - API Key
      </Card>
    </Columns>
  </Step>

  <Step title="Link an Account">
    Connect an account using [StackOne Hub](/guides/embedding-stackone-hub) or [Auth Link](/guides/auth-link).

    <Columns cols={2}>
      <Card title="Link Account" href="/connectors/cohere/guides/link-account/api-key" icon="https://stackone-logos.com/api/cohere/filled/png" horizontal>
        Cohere - API Key
      </Card>
    </Columns>
  </Step>

  <Step title="Use Actions">
    Invoke actions using one of the methods below:

    * [MCP](/mcp/quickstart) – Model Context Protocol for AI assistants
    * [A2A](/a2a/quickstart) – Agent-to-Agent protocol
    * [AI Toolset (TypeScript)](/agents/typescript/introduction) – TypeScript SDK for AI agents
    * [AI Toolset (Python)](/agents/python/introduction) – Python SDK for AI agents
    * [Actions RPC](/platform/api-reference/actions/make-an-rpc-call-to-an-action) – Direct API calls
    * [Playground](/guides/playground) – Test actions in the dashboard
  </Step>
</Steps>
