curl --request POST \
--url https://control-plane.kubiya.ai/api/v1/policies/evaluate/{entity_type}/{entity_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input_data": {},
"policy_ids": [
"<string>"
]
}
'{
"allowed": true,
"violations": [
"<string>"
],
"policy_results": {}
}Evaluate all policies for an entity against input data.
This evaluates all inherited policies and returns aggregated results.
curl --request POST \
--url https://control-plane.kubiya.ai/api/v1/policies/evaluate/{entity_type}/{entity_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input_data": {},
"policy_ids": [
"<string>"
]
}
'{
"allowed": true,
"violations": [
"<string>"
],
"policy_results": {}
}Enter your Kubiya API token (format: Bearer
agent, team, environment Was this page helpful?