List Dosya files in n8n
List files from one Dosya workspace or folder with exact sort, limit and subfolder options, then verify IDs and pagination-derived output fields.
Last reviewed
The Dosya node’s File → Get Many operation lists one workspace root or one folder. It returns a flat stream of file items; optional subfolders are returned as folder records without recursively listing their contents.

Steps
- Add dosya.dev, choose Resource: File and Operation: Get Many, then select the intended Workspace.
- Choose Folder or leave Workspace Root. The folder picker displays full paths such as
Clients / Acme / Finalto distinguish duplicate leaf names. - Leave Return All off for a bounded test and set Limit to at least 1; the default is 50. The node fetches API pages up to 500 entries while stopping at your limit.
- Under Options, choose Sort By: Newest First, Oldest First, Name, Largest First, or Smallest First.
- Enable Include Subfolders in Output only when downstream logic expects records with
type: folder. Child contents are not traversed by that option. - Execute once and compare representative
id,name,size,mime_type,extension,version,workspace_id,folder_id,created_at, andupdated_atvalues with Dosya.
When Return All is enabled, the node follows file pagination until the API reports the last page. Subfolders are taken from the first response only because the API repeats the complete subfolder list on every file page.

Expected result
The output contains files from exactly the chosen workspace root or folder in the selected order, stops at the requested limit unless Return All is enabled, and includes only immediate subfolder records when requested.
An empty output is valid when the selected scope has no visible files. A missing workspace is rejected before the request; access failures require checking the credential’s workspace pin, Full/Read scope and the key owner’s file-view permission.
Related guides
Was this helpful?
Loading helpfulness results…
Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.
Questions and replies
Ask about the steps in this guide. Questions are reviewed before publication.
Keep account details, credentials and private files out of public questions. Use private support for those.
Loading questions…
Sign in to your Dosya account to ask a question.