Authentication
How this API authenticates requests, and where your API keys live.
API Reference declares the schemes below. Each operation documents which schemes it requires; public operations need no credentials.
Your API keys
| Name | Key | Added | Last used |
|---|
bearerAuth
HTTP Bearer
For operations using this scheme, send your token in the Authorization header.
curl arguments for operations using this scheme (add the operation URL):
-H 'Authorization: Bearer YOUR_API_KEY'Code example
A request using the declared server and authentication requirements:
curl --globoff -X GET -H 'Authorization: Bearer YOUR_API_KEY' 'https://api.cohere.com/v1/datasets'