chat on Cohere’s Client and ClientV2, in Python (cohere) and Node (cohere-ai).
Proxy
Proxy Base URL:
https://api.promptguard.co/api/v1Point your LLM SDK’s base_url / baseURL to this endpoint. Your existing provider API key goes in the Authorization header as usual; add your PromptGuard key via X-API-Key.command-, c4ai-aya-, aya- or cohere- go to Cohere. Send an OpenAI-style chat request to /chat/completions; PromptGuard forwards it to Cohere’s v2 chat endpoint, api.cohere.com/v2/chat, and returns Cohere’s reply unchanged, in Cohere’s v2 shape (message.content), not OpenAI’s (choices). An OpenAI client cannot read that reply, and the Cohere SDK cannot reach this route, so call it over plain HTTP:
cohere.