---
title: "Get diff view settings for the current user"
method: GET
path: "/api/v1/preferences/diff-view"
tags: ["Preferences"]
---

# Get diff view settings for the current user

`GET /api/v1/preferences/diff-view`

## Response `200`

Diff view settings

- object
  - `viewMode` 'unified' | 'split', nullable, required
  - `wrapLines` boolean, nullable, required
  - `fileTreeOpen` boolean, nullable, required

## Other responses

- `401` — Not authenticated

---

[API](https://skmtc.dev/entire/apis/entire-api.md) · [All operations](https://skmtc.dev/entire/apis/entire-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/entire/entire-api/revisions/c3d737ae064e/schema)
