Skip to main content
POST
Bulk action on files or collections

Authorizations

Authorization
string
header
required

JWT token passed in authorization header

Body

application/json
ids
string[]
required
type
enum<string>
required
Available options:
upload,
collection
action
enum<string>
required
Available options:
delete,
include,
exclude,
reprocess,
moveToCollection,
makePublic,
makePrivate,
makeConfidential,
removeConfidential
mode
enum<string>
default:full

Applies only to the reprocess action. Controls which part of the ingestion pipeline reruns for each file: full (re-chunk + re-embed + rebuild Knowledge Graph), embed (re-embed existing chunks in place), or kag (rebuild the Knowledge Graph only, leaving chunks/vectors intact). Defaults to full when omitted. An explicit invalid value is rejected with 400.

Available options:
full,
embed,
kag
target
string

Target collection ID for moveToCollection action

Response

200

Bulk action completed