cURL
curl --request POST \ --url https://api.promptguard.dev/api/v1/proxy/chat/completions \ --header 'X-API-Key: <api-key>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
Proxy OpenAI-style chat completions through policy engine
PromptGuard API key for developer endpoints. Keys start with pg_live_ and are created in the dashboard.
Successful Response