---
title: "Diff Policy Versions"
method: GET
path: "/policies/diff"
tags: ["policies"]
---

# Diff Policy Versions

`GET /policies/diff`

## Request

- Base URL: `https://api.openproof.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openproof.io/policies/diff`
- Auth: HTTP bearer

Line-level diff between two versions of the same policy, both
owned by the current business. Viewer+ role required.

## Query parameters

- `from_id` string, required
- `to_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/openproof/apis/openproof-api.md) · [All operations](https://skmtc.dev/openproof/apis/openproof-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openproof/apis/openproof-api/revisions/ddd0cac7c37e?raw)
