Skip to main content
POST
Get all file and collection IDs for bulk select-all

Authorizations

Authorization
string
header
required

JWT token passed in authorization header

Body

application/json
vault
enum<string>

Vault scope (required at root level)

Available options:
personal,
instance,
account
parent
string | null

Collection ID to scope within (null for vault root)

institution
string

Override institution ID

Case-insensitive substring filter on file originalname

status
enum<string>

Filter files by status. 'excluded' means $nin [selected, deleted].

Available options:
active,
inactive,
selected,
error,
deleted,
excluded

Response

200 - application/json

Selection IDs and names

success
boolean
files
object[]

Files that will be selected (id + name preview)

collections
object[]

Collections that will be selected (empty when a filter is active)

fileIds
string[]

Legacy bare-id list (mirrors files[]._id)

collectionIds
string[]

Legacy bare-id list (mirrors collections[]._id)

totalFiles
integer
filtered
boolean

True when a fileNameSearch or status filter scoped the result