---
title: "Retrieve entire policy tree"
method: GET
path: "/policy"
tags: ["policy"]
deprecated: true
---

# Retrieve entire policy tree

`GET /policy`

> **Deprecated.**

Returns the entire policy tree with all children.

Deprecated: will be removed in v1.19

## Response `200`

Success

- Policy — Policy definition Deprecated, will be removed in v1.19.
  - `revision` integer — Revision number of the policy. Incremented each time the policy is changed in the agent's repository
  - `policy` string — Policy definition as JSON.

## Other responses

- `404` — No policy rules found

---

[API](https://skmtc.net/cilium/apis/cilium-api.md) · [All operations](https://skmtc.net/cilium/apis/cilium-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cilium/cilium-api/versions/351336b27221/schema)
