cURL
curl --request GET \ --url https://control-plane.kubiya.ai/api/v1/policies/{policy_id}
{ "id": "<string>", "name": "<string>", "description": "<string>", "policy_content": "<string>", "organization_id": "<string>", "enabled": true, "tags": [ "<string>" ], "version": 123, "created_at": "<string>", "updated_at": "<string>", "created_by": "<string>", "updated_by": "<string>", "policy_type": "rego", "association_count": 0 }
Get a specific policy by ID
Successful Response
Extended policy response with association count
Was this page helpful?