Skip to main content
POST
/
api
/
user
/
collections
/
select-all-ids
Get all file and collection IDs for bulk select-all
curl --request POST \
  --url https://pria.praxislxp.com/api/user/collections/select-all-ids \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "parent": "<string>",
  "institution": "<string>",
  "fileNameSearch": "<string>"
}
'
{
  "success": true,
  "files": [
    {
      "_id": "<string>",
      "originalname": "<string>"
    }
  ],
  "collections": [
    {
      "_id": "<string>",
      "name": "<string>",
      "fileCount": 123
    }
  ],
  "fileIds": [
    "<string>"
  ],
  "collectionIds": [
    "<string>"
  ],
  "totalFiles": 123,
  "filtered": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt

Use this file to discover all available pages before exploring further.

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