---
title: "Get policy version history"
method: GET
path: "/api/v1/policies/{id}/versions"
tags: ["Dynamic Policies"]
deprecated: true
---

# Get policy version history

`GET /api/v1/policies/{id}/versions`

## Request

- Base URL: `https://orchestrator.getaxonflow.com`
- URL: `https://orchestrator.getaxonflow.com/api/v1/policies/{id}/versions`
- Auth: none declared. Required headers: `X-Tenant-ID`
- TypeScript: <https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api/docs/api/v1/policies/:id/versions/get.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Returns version history for a policy.
Community edition limited to 5 versions.

## Path parameters

- `id` string, uuid, required

## Headers

- `X-Tenant-ID` string, required

## Response `200`

Version history

- object
  - `policy_id` string
  - `versions` object[]
    - `version` integer
    - `snapshot` object
    - `change_type` string
    - `changed_by` string
    - `changed_at` string, date-time
  - `count` integer

## Other responses

- `401`: Unauthorized - missing or invalid organization scope (coded envelope)
- `404`: Policy not found

---

[API](https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api.md) - [All operations](https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getaxonflow/apis/axonflow-orchestrator-api/revisions/f408ef3ec9dd?raw)
