# Documents

Knowledge Base 2.0 documents are pages with Markdown content, organized into a tree inside a knowledge base. This section collects the operations for creating, reading, updating, archiving, deleting, and full-text searching documents.

**Scope:** `note` | **Base URL:** `https://vibecode.bitrix24.com/v1` | **Authorization:** `X-Api-Key`

## Operations

- [Create a document](./documents/create.md) — `POST /v1/note/documents`
- [Get a document](./documents/get.md) — `GET /v1/note/documents/:id`
- [Update a document](./documents/update.md) — `PATCH /v1/note/documents/:id`
- [Archive a document](./documents/archive.md) — `POST /v1/note/documents/:id/archive`
- [Delete a document](./documents/delete.md) — `DELETE /v1/note/documents/:id`
- [Search documents](./documents/search.md) — `GET /v1/note/documents/search`

The list of documents in a single knowledge base is returned by the [Document tree](./collections/tree.md) — `GET /v1/note/collections/:collectionId/documents`.

## See also

- [Knowledge bases](/docs/note/collections)
- [Files](/docs/note/files)
- [Knowledge Base overview](/docs/note)
