---
title: "Set Chat Extraction Excluded"
method: POST
path: "/api/chats/{chat_id}/extraction"
tags: ["chats"]
---

# Set Chat Extraction Excluded

`POST /api/chats/{chat_id}/extraction`

## Request

- Base URL: `https://app.thinqos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.thinqos.com/api/chats/{chat_id}/extraction`
- Auth: none declared

Suppress (or re-admit) a chat from cognitive extraction. TOS-44.

Governs future extraction. PR-D1: real flip transitions also fire the
reconciliation worker so already-extracted beliefs retract (false → true)
or come back (true → false). A no-op POST (same value re-submitted) does
NOT fire reconciliation - that wiring keys on ``ExtractionExcludedResult``
being a real transition.

## Path parameters

- `chat_id` string, uuid, required

## Headers

- `x-impersonate-identity-id` string, nullable

## Request body

- ExtractionExcludedRequest
  - `excluded` boolean, required

## Response `200`

Successful Response

- OkResponse
  - `ok` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/thinqos/apis/thinqos-api.md) · [All operations](https://skmtc.dev/thinqos/apis/thinqos-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinqos/apis/thinqos-api/revisions/5387b4ded614?raw)
