When you configure an export, import, other type of flow step using the prebuilt Cohere connector, you can select any of the API operations listed below, organized by API type.
Note
If your API endpoint isn’t listed here, switch the flow step to HTTP mode and configure the endpoint provided in the Cohere API documentation. You can also create a composite endpoint for this application in HTTP mode.
| Resource | API endpoint | Export | Import |
|---|---|---|---|
| Version: V1 | |||
| Chat | Create chat | X | |
| Datasets | Create a dataset |
X | |
| List datasets | X | ||
| Get dataset usage | X | ||
| Get a dataset | X | ||
| Delete a dataset | X | ||
| Detokenize | Detokenize | X | |
| Embed | Create embed | X | |
| Embed jobs | Create an embed job |
X | |
| List embed jobs | X | ||
| Fetch an embed job | X | ||
Cancel an embed job |
X | ||
| Models | Get a model | X | |
| List models | X | ||
| Rerank | Create rerank | X | |
| Tokenize | Create tokenize | X | |
| Version: V2 | |||
| Audio: Transcriptions | Create a transcription |
X | |
| Batches | List batches | X | |
| Create a batch | X | ||
| Retrieve a batch | X | ||
| Cancel a batch | X | ||
| Chat | Create chat | X | |
| Embed | Create embed | X | |
| Rerank | Create rerank | X | |