---
title: "Derive the semantic field delta from the last authorized repository revision to the exact current revision."
method: GET
path: "/api/v1/intents/{id}/revision-diff"
tags: ["change requests"]
---

# Derive the semantic field delta from the last authorized repository revision to the exact current revision.

`GET /api/v1/intents/{id}/revision-diff`

The client supplies no diff. The server compares persisted canonical snapshots and returns only semantic repo-owned fields.

## Path parameters

- `id` string, required

## Query parameters

- `to` string

## Response `200`

OK — delta derived from immutable server snapshots

- object

## Other responses

- `400` — Invalid to revision
- `401` — Missing or invalid API key/session
- `403` — Lacks read scope
- `404` — Intent not found in this workspace
- `409` — The requested to revision is no longer current
- `422` — Intent is not repository-authority
- `500` — Revision or authorization history could not be read

## Changes

- **2026-09-01** `a660c0d36148` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/pathmode/apis/pathmode-api/changes/api/v1/intents/:id/revision-diff/get.md)

---

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