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 Lakera Guard Default Policy will be returned.
Authentication
AuthorizationBearer
Bearer authentication using API key. Generate an API key from the Lakera platform. Example: Bearer sk_123…
Request
This endpoint expects an object.
project_id
The project_id for which the policy health should be checked,.
Response
Policy health check results
status
Overall health status
Allowed values:
is_default
Whether using the Lakera Guard Default Policy or a custom policy
message
Human-readable status message
lint
Policy validation results