Skip to main content
POST
Move multiple documents to a collection

Authorizations

Authorization
string
header
required

Use Authorization: Bearer

Path Parameters

project_id
string<uuid>
required

UUID of the project

Body

application/json
document_ids
string<uuid>[]
required

Ids of the documents to move (max 200).

Maximum array length: 200
collection_id
string<uuid> | null
required

The target collection's id (must belong to this project), or null to move the documents to "Default".

Response

Move result counts and any extraction flows whose cache was invalidated.

moved
integer

Number of documents moved.

skipped
integer

Requested ids that were not active documents in this project.

extraction_flows_to_rerun
object[]