Move a document
Knowledge Base
Move a document
Move a document to a different parent folder.
PATCH
Move a document
Authorizations
API key (sk_xxx) from Developer Settings. No X-Account-ID needed.
Headers
Path Parameters
Body
application/json
Request body for PATCH /kb/documents/{id}/move.
New parent folder UUID; null = move to root
Response
Successful Response
Document title
Maximum string length:
255URL-friendly slug (auto-generated if not provided)
Maximum string length:
255BlockNote block structure (JSON); null for folders
Rendered markdown for AI context; null for folders
Document visibility: 'private' or 'public'
Position for ordering
For folders, number of direct children (only in list/get)