Get policy

Retrieve a single policy, including the projects currently using it

Authentication

AuthorizationBearer

Bearer authentication using API key. Generate an API key from the AI Guardrails Dashboard. Example: Bearer sk_123…

Path parameters

policyIdstringRequired

Response

Policy details
policyobject
A policy as returned by the API

Errors

403
Forbidden Error
404
Not Found Error