List documents with pagination and filtering
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Comma-separated list of additional fields to include in the response:
_count - Adds favorite and view count metricslabels - Includes associated document labelsincludeDeleted - Include deleted documentsonlyFavorites - Must be used with userId. Include only documents that the specified user has favorited.Comma-separated list of labels to filter results. For example: finance,marketing
ID of the folder to filter results. Returns only documents within the specified folder.
Number of records per page
1 <= x <= 100Field to sort by:
favorites - Sort by the number of favoritesname - Sort by document nameupdatedAt - Sort by last update timevisits - Sort by view countfavorites, name, updatedAt, visits Sort direction (asc for ascending, desc for descending)
asc, desc Cursor for pagination. Used with sortField/sortDirection for relative positioning.
The ID of a standard or embed user to filter results, returning only documents the specified user can view based on their permissions.
Required if include=onlyFavorites is specified.
ID of the user who created the document(s), returning only documents that the specified user created.