List document collections

GET

Retrieves all collections that contain the specified document. This endpoint is restricted to superusers only and provides a system-wide view of document organization.

Collections are used to organize documents and manage access control. A document can belong to multiple collections, and users can access documents through collection membership.

The results are paginated and ordered by collection creation date, with the most recently created collections appearing first.

NOTE - This endpoint is only available to superusers, it will be extended to regular users in a future release.

Path parameters

idstringRequired

Document ID

Query parameters

offsetintegerOptional

Specifies the number of objects to skip. Defaults to 0.

limitintegerOptional

Specifies a limit on the number of objects to return, ranging between 1 and 100. Defaults to 100.

Response

Successful Response

resultslist of objects
total_entriesinteger

Errors