---
title: "Changes to Get chat diff contents"
method: GET
path: "/api/v2/chats/{chat}/diff"
---

# Changes to Get chat diff contents

`GET /api/v2/chats/{chat}/diff`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 308 revisions.

- **2026-10-06** `cdaf237c6ece`: 2 info
- **2026-08-26** `4e2ba40f72eb`: 1 info

## Changes

- **2026-10-06** `cdaf237c6ece`: 2 info
  - added the new optional `query` request parameter `branch`
  - added the new optional `query` request parameter `origin`
- **2026-08-26** `4e2ba40f72eb`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/coder/apis/coder-api/docs/api/v2/chats/:chat/diff/get.md) - [API](https://skmtc.dev/coder/apis/coder-api.md) - [Page](https://skmtc.dev/coder/apis/coder-api/changes/api/v2/chats/:chat/diff/get)
