Authentication

Cody AI API uses API keys for authentication. Visit your API Keys page to retrieve the API key you'll use in your requests.

Your API key is a secret! Do not share it with others or expose it in any client-side code (browsers, apps). Requests must be proxied through your own backend server where your API key can be securely stored.

All API requests should include your API key in an Authorization HTTP header as follows:

Authorization: Bearer API_KEY