v5

latestOpenAPI 3.1.02026-08-043621,4011.8 MB
Conversational AI

Bulk Move Entities To Folder

Moves multiple entities from one folder to another.

post/v1/convai/knowledge-base/bulk-move

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Request body

document_idsstring[] required

The ids of documents or folders from the knowledge base.

move_tostring nullable

The folder to move the entities to. If not set, the entities will be moved to the root folder.

Example request

{
  "document_ids": [
    "21m00Tcm4TlvDq8ikWAM",
    "31m00Tcm4TlvDq8ikWBM"
  ]
}

Response

Successful Response