Cohere
AI API keyRun Cohere chat, embedding and rerank models from any Windmill script, flow or app.
Set up in 3 steps
1
Create an API key
In the Cohere dashboard, open API keys and create a production key — the trial key is rate-limited and not for production use.
2
Add the resource in Windmill
Open Resources, add a resource of type cohere, and paste the key.
3
Run your first script
Fork any script below and read before writing anything.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
Update a Connector
Script cohere Verified
Trains and deploys a fine-tuned model.
Script cohere Verified
Tokenize
Script cohere Verified
Returns a fine-tuned model by ID.
Script cohere Verified
Retrieves the chronology of statuses the fine-tuned model has been through.
Script cohere Verified
Retrieves metrics measured during the training of a fine-tuned model.
Script cohere Verified
Rerank
Script cohere Verified
Lists fine-tuned models.
Script cohere Verified
List Models
Script cohere Verified
List Embed Jobs
Script cohere Verified
List Datasets
Script cohere Verified
List Connectors
Script cohere Verified
Get a Model
Script cohere Verified
Get a Dataset
Script cohere Verified
Get a Connector
Script cohere Verified
Get Dataset Usage
Script cohere Verified
Fetch an Embed Job
Script cohere Verified
Embed
Script cohere Verified
Detokenize
Script cohere Verified
Deletes a fine-tuned model.
Script cohere Verified
Delete a Dataset
Script cohere Verified
Delete a Connector
Script cohere Verified
Create an Embed Job
Script cohere Verified
Create a Dataset
Script cohere Verified
Create a Connector
Script cohere Verified
Classify
Script cohere Verified
Check API key
Script cohere Verified
Chat with the model
Script cohere Verified
Cancel an Embed Job
Script cohere Verified
Resource type
cohere — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| apiKey | string | Yes | API key generated from Cohere dashboard. |
Questions
Trial or production key?
Production for anything scheduled. Trial keys are free but capped low enough that a flow will hit the limit.
Is my key stored on the hub?
Never. It lives only in your own Windmill workspace, encrypted at rest.