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.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

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

Allowed values:
is_defaultbooleanOptional

Whether using the Lakera Guard Default Policy or a custom policy

messagestringOptional

Human-readable status message

lintobjectOptional

Policy validation results