---
title: "List Policy Guard Rules"
method: GET
path: "/v2/policy_guards/scopes/{policy_guard_scope_id}/rules"
tags: ["Policy Guards (EAP)"]
---

# List Policy Guard Rules

`GET /v2/policy_guards/scopes/{policy_guard_scope_id}/rules`

List all rules for a Policy guard scope.

## Path parameters

- `policy_guard_scope_id` string, required — Either the unique id of the policy_guard_scope, or the URL-friendly key of the policy_guard_scope (i.e: the "slug").

## Query parameters

- `page` integer — Page number of the results to fetch, starting at 1.
- `per_page` integer — The number of results per page (max 100).

## Response `200`

Successful Response

- PolicyGuardRuleRead[]
  - `is_allowed` boolean, required — If True, the permission will be allowed for the role in the policy guard across all projectswithin the policy scope, and the permission will be locked from further editing.
  - `resource_key` string, required — The key of the resource.
  - `role_key` string — The key of the role.
  - `action_key` string, required — The key of the action.
  - `resource_set` ConditionSet
    - `key` string, required — The key of the condition set.
    - `attribute` string, required — The attribute of the condition set.
    - `operator` string, required — The operator of the condition set.
    - `value` string, required — The value of the condition set.
  - `user_set` ConditionSet
    - `key` string, required — The key of the condition set.
    - `attribute` string, required — The attribute of the condition set.
    - `operator` string, required — The operator of the condition set.
    - `value` string, required — The value of the condition set.
  - `scope_id` string, uuid, required — The unique identifier of the policy guard.
  - `organization_id` string, uuid, required — Unique id of the organization that the ScopeConfig belongs to.
  - `id` string, uuid, required — Unique id of the ScopeConfig

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/permit/apis/permit-io-api.md) · [All operations](https://skmtc.dev/permit/apis/permit-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/permit/permit-io-api/revisions/13faa12b4692/schema)
