curl --request GET \
--url https://control-plane.kubiya.ai/api/v1/policies \
--header 'Authorization: Bearer <token>'{
"policies": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"organization_id": "<string>",
"enabled": true,
"tags": [
"<string>"
],
"version": 123,
"created_at": "<string>",
"updated_at": "<string>",
"policy_content": "",
"created_by": "<string>",
"updated_by": "<string>",
"policy_type": "rego",
"association_count": 0
}
],
"total": 123,
"page": 123,
"limit": 123,
"has_more": true
}List all policies from the enforcer service.
Supports pagination, filtering by enabled status, and search.
curl --request GET \
--url https://control-plane.kubiya.ai/api/v1/policies \
--header 'Authorization: Bearer <token>'{
"policies": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"organization_id": "<string>",
"enabled": true,
"tags": [
"<string>"
],
"version": 123,
"created_at": "<string>",
"updated_at": "<string>",
"policy_content": "",
"created_by": "<string>",
"updated_by": "<string>",
"policy_type": "rego",
"association_count": 0
}
],
"total": 123,
"page": 123,
"limit": 123,
"has_more": true
}Enter your Kubiya API token (format: Bearer
Was this page helpful?