Authentication
All requests require an API key. AgentWatch accepts any of these authentication methods:
| Method | Header / Parameter | SDK |
|---|---|---|
| Bearer token | Authorization: Bearer ak_... |
OpenAI, Cohere |
| API key header | api-key: ak_... |
Azure OpenAI |
| Anthropic key | x-api-key: ak_... |
Anthropic |
| Google key | x-goog-api-key: ak_... |
Google Gemini |
| Query parameter | ?key=ak_... |
Google Gemini (alt) |
All methods use the same AgentWatch tenant API key — the header format determines which authentication path is used.