---
title: "Get Policies"
method: GET
path: "/policies"
---

# Get Policies

`GET /policies`

Get policies for an organization with pagination.

By default, returns all policies (no limit). Use limit parameter for pagination.
Response includes pagination metadata (total, has_more) to detect truncation.

Docs: [Guide](https://docs.grayswan.ai/policy-management/policies) |
[API Reference](https://docs.grayswan.ai/api-reference/policies/get-policies)

## Query parameters

- `limit` integer, nullable — Maximum number of policies to return (omit to return all)
- `offset` integer — Number of policies to skip

## Response `200`

Successful Response

- PolicyListResponse — Paginated response for policy list endpoint.
  - `policies` PolicyDetailResponse[], required
    - `id` string, required
    - `name` string, required
    - `description` string, nullable
    - `rules` object, required
    - `rule_modes` object
    - `mode` string, nullable
    - `pre_violation_threshold` number, nullable
    - `pre_jb_threshold` number, nullable
    - `post_violation_threshold` number, nullable
    - `post_violation_jb_threshold` number, nullable
    - `scanners_config` object, nullable
    - `block_message` string, nullable
    - `is_preset` boolean
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable
  - `total` integer, required
  - `limit` integer, nullable
  - `offset` integer
  - `has_more` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/grayswan/apis/gray-swan-ai-api.md) · [All operations](https://skmtc.net/grayswan/apis/gray-swan-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/grayswan/gray-swan-ai-api/revisions/6ef1ea32ff13/schema)
