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