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.

Four-step workflow for choosing File Get Many, bounding returned items, deciding whether subfolders belong, and checking representative output fields.
Four-step workflow for choosing File Get Many, bounding returned items, deciding whether subfolders belong, and checking representative output fields. Open full-size screenshot.

Steps

  1. Add dosya.dev, choose Resource: File and Operation: Get Many, then select the intended Workspace.
  2. Choose Folder or leave Workspace Root. The folder picker displays full paths such as Clients / Acme / Final to distinguish duplicate leaf names.
  3. 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.
  4. Under Options, choose Sort By: Newest First, Oldest First, Name, Largest First, or Smallest First.
  5. Enable Include Subfolders in Output only when downstream logic expects records with type: folder. Child contents are not traversed by that option.
  6. Execute once and compare representative id, name, size, mime_type, extension, version, workspace_id, folder_id, created_at, and updated_at values 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.

Reference for “List Dosya files in n8n”: Dosya n8n integration overview page.
Reference for “List Dosya files in n8n”: Dosya n8n integration overview page. Open full-size screenshot.

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.

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.

    Check the outcome before you retry

    Use these shared checks when a task needs a second look.