---
title: "Get chat diff contents"
method: GET
path: "/api/experimental/chats/{chat}/diff"
tags: ["Chats"]
---

# Get chat diff contents

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

Experimental: this endpoint is subject to change.

## Path parameters

- `chat` string, uuid, required

## Response `200`

OK

- CodersdkChatDiffContents
  - `branch` string
  - `chat_id` string, uuid
  - `diff` string
  - `provider` string
  - `pull_request_url` string
  - `remote_origin` string

---

[API](https://skmtc.net/coder/apis/coder-api.md) · [All operations](https://skmtc.net/coder/apis/coder-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coder/coder-api/versions/56b6e9f08540/schema)
