cURL
curl --request POST \ --url https://control-plane.kubiya.ai/api/v1/policies/evaluate/{entity_type}/{entity_id} \ --header 'Authorization: <api-key>' \ --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.
agent
team
environment
Request model for policy evaluation
Input data for evaluation
Specific policy IDs to evaluate
Successful Response
Response model for policy evaluation
Show child attributes
Was this page helpful?