cURL
curl --request GET \ --url https://api.promptguard.dev/api/v1/proxy/models \ --header 'X-API-Key: <api-key>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
Proxy models endpoint.
Note: Returns OpenAI models by default. To get provider-specific models, client should query the provider directly or we could add provider parameter.
PromptGuard API key for developer endpoints. Keys start with pg_live_ and are created in the dashboard.
Successful Response