---
title: "Reactivate documents in a chat"
method: DELETE
path: "/chats/{chat_id}/inactive-documents"
tags: ["Chat"]
---

# Reactivate documents in a chat

`DELETE /chats/{chat_id}/inactive-documents`

Re-include previously deactivated documents in the chat's retrieval context.

## Path parameters

- `chat_id` integer, required

## Query parameters

- `cookie_name` string, nullable

## Response `200`

Successful Response

- BulkResult
  - `count` integer, required — Number of rows affected.
  - `ids` integer[], required — IDs that were targeted by the operation.

## Other responses

- `401` — Missing or invalid authentication.
- `403` — No access to this chat.
- `422` — Validation Error

---

[API](https://skmtc.net/neulandai/apis/neuland-ai-hub-api.md) · [All operations](https://skmtc.net/neulandai/apis/neuland-ai-hub-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/neulandai/neuland-ai-hub-api/versions/b53e89b98c2b/schema)
