Batch Move Documents

Move multiple documents into a folder in a single transaction. Pass folder_id: null to move every doc to root. Capped at 200 ids per call.

Authentication

AuthorizationBearer

Enter your API key with the Bearer prefix, e.g. ‘Bearer sk_…’.

Path parameters

idstringRequired

Request

This endpoint expects an object.
idslist of stringsRequired
folder_idstring or nullRequired

Destination folder. Prefixed wire identifier (kfolder_<26 char Crockford base32>); null moves every document to the knowledge base root.

Response

Documents moved.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error