---
title: "Get user chat compaction thresholds"
method: GET
path: "/api/v2/chats/config/user-compaction-thresholds"
tags: ["Chats"]
---

# Get user chat compaction thresholds

`GET /api/v2/chats/config/user-compaction-thresholds`

## Response `200`

OK

- CodersdkUserChatCompactionThresholds
  - `thresholds` CodersdkUserChatCompactionThreshold[]
    - `model_config_id` string, uuid
    - `threshold_percent` integer

## Changes

- **2026-08-26** `4e2ba40f72eb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/coder/apis/coder-api/changes/api/v2/chats/config/user-compaction-thresholds/get.md)

---

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