cURL
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.
Enter your Kubiya API token (format: Bearer )
Successful Response
Response for policy validation
Was this page helpful?