cURL
curl --request POST \ --url https://control-plane.kubiya.ai/api/v1/policies/{policy_id}/validate
{ "valid": true, "errors": [], "warnings": [] }
Validate a policy’s Rego syntax and structure.
Returns validation results with errors and warnings.
Successful Response
Response for policy validation
Was this page helpful?