---
title: "GET /ai/workspace/diff"
method: GET
path: "/ai/workspace/diff"
tags: ["AI Chat"]
---

# GET /ai/workspace/diff

`GET /ai/workspace/diff`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/ai/workspace/diff`
- Auth: HTTP bearer

## Query parameters

- `path` string, required

## Response `200`

- ApplicationWorkspaceDiffResponse
  - `diff` string, required
  - `path` string, required
  - `truncated` boolean, required

## Other responses

- `400`
- `401`
- `403`
- `404`
- `413`
- `503`
- `504`

## Changes

- **2026-09-07** `504478bfd788`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ai/workspace/diff/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
