Skip to main content
File and folder lists use cursor pagination. Search accepts a result limit but does not support paging through further results.

Read every page

The response has object: "list", url, data, hasMore, and nextCursor.
  1. Process the items in data.
  2. If hasMore is true, send nextCursor as the next request’s cursor.
  3. Keep the same filters and continue until hasMore is false.
A short or empty page does not establish that the list is complete. Access controls can remove items from a page; use hasMore to decide whether to continue. Treat cursors as opaque strings. Do not construct or parse them. Changing filters requires starting again without a cursor.

Choose a selector

Use at most one selector per request: An exact path with no matching item returns an empty list. It does not return a resource-not-found error. GET /v1/folders is the one exception: a parent_id that names no folder returns 404 folder_not_found. Every selector on GET /v1/files, and the other selectors on GET /v1/folders, return an empty list instead. limit defaults to 100 and accepts values from 1 to 1000. See List files and List folders for the complete parameters.

Search results

Both searches use the list envelope, but return hasMore: false and nextCursor: null. The result limit caps one response; it is not a page size for a resumable search.