Skip to main content
GET
/
api
/
v1
/
policies
List Policies
curl --request GET \
  --url https://control-plane.kubiya.ai/api/v1/policies
{
  "policies": [
    {
      "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
    }
  ],
  "total": 123,
  "page": 123,
  "limit": 123,
  "has_more": true
}

Query Parameters

page
integer
default:1
limit
integer
default:20
enabled
boolean | null

Response

Successful Response

Paginated response for list policies

policies
PolicyResponse · object[]
required
total
integer
required
page
integer
required
limit
integer
required
has_more
boolean
required