---
title: "Diff branch vs trunk"
method: GET
path: "/v1/projects/{slug}/branches/{name}/diff"
tags: ["versioning"]
---

# Diff branch vs trunk

`GET /v1/projects/{slug}/branches/{name}/diff`

## Request

- Base URL: `https://innernet.live/api`
- URL: `https://innernet.live/api/v1/projects/{slug}/branches/{name}/diff`
- Auth: HTTP bearer

A 3-way diff against the fork point (not a live trunk compare): added / modified / removed / unchanged for what the BRANCH changed, for dimensions and nodes. `conflicts` lists keys trunk also changed differently since the fork — those are skipped by merge until resolved.

## Path parameters

- `slug` string, required
- `name` string, required

## Response `200`

The diff — each bucket carries added/modified/removed/unchanged/conflicts

## Other responses

- `404`: Error

---

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