v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-25173140700.7 KB
Chat

Deactivate documents in a chat

Exclude the given documents from the chat's retrieval context.

post/chats/{chat_id}/inactive-documents

Path parameters

chat_idinteger required

Query parameters

cookie_namestring nullable

Response

Successful Response

creator_user_idinteger required

ID of the user who marked the document inactive.

created_atstring date-time

Timestamp when the document was marked inactive in the chat.

chat_idinteger required

ID of the chat the inactive document belongs to.

document_idinteger required

ID of the document marked inactive in the chat.

Example response

[
  {
    "creator_user_id": 1,
    "created_at": "2026-06-23T12:00:00Z",
    "chat_id": 1,
    "document_id": 1
  }
]