cURL
curl --request POST \ --url https://api.promptguard.dev/api/v1/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
Documentation IndexFetch the complete documentation index at: https://docs.promptguard.co/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.promptguard.co/llms.txt
Use this file to discover all available pages before exploring further.
PromptGuard API key for developer endpoints. Keys start with pg_live_ and are created in the dashboard.
Successful Response