Skip to main content
POST
/
api
/
v1
/
policies
/
{policy_id}
/
validate
Validate Policy
curl --request POST \
  --url https://control-plane.kubiya.ai/api/v1/policies/{policy_id}/validate \
  --header 'Authorization: Bearer <token>'
{
  "valid": true,
  "errors": [],
  "warnings": []
}

Documentation Index

Fetch the complete documentation index at: https://docs.kubiya.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Enter your Kubiya API token (format: Bearer )

Path Parameters

policy_id
string
required

Response

Successful Response

Response for policy validation

valid
boolean
required
errors
string[]
warnings
string[]