---
title: "Export Policies"
method: GET
path: "/policies/export"
---

# Export Policies

`GET /policies/export`

Export all policies for an organization as JSON.

Returns policies in a format suitable for import.

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

## Response `200`

Successful Response

- PolicyExportResponse — Response for policy export.
  - `policies` PolicyExportData[], required
    - `name` string, required
    - `description` string, nullable
    - `categories` object
    - `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
    - `export_version` string
  - `export_date` string, date-time, required
  - `export_version` string
  - `total` integer, required

---

[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)
