Check policy configuration health

Check the validity of the policy configuration for a given project. If no project ID is passed then the health of the AI Guardrails Default Policy will be returned.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
project_idstringRequired

The project_id for which the policy health should be checked,.

Response

Policy health check results
statusenumOptional
Overall health status
is_defaultbooleanOptional
Whether using the AI Guardrails Default Policy or a custom policy
messagestring or nullOptional

Human-readable status message

lintobjectOptional
Policy validation results