policiesHealth

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.

post/v2/policies/health

Request

  • Base URL: https://api.lakera.ai
  • URL: https://api.lakera.ai/v2/policies/health
  • Auth: HTTP bearer

Request body

project_idstring required

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

Response

Policy health check results

status'ok' | 'error'

Overall health status

is_defaultboolean

Whether using the AI Guardrails Default Policy or a custom policy

messagestring nullable

Human-readable status message

Changes

No recorded changes to this operation across all 1 revision of this API.