Directus icon

Directus

Consume Directus API

File → Get Many

AI-generated

Summary

Retrieves multiple files from Directus.

Inputs

  • Main Data (required) — Input items that trigger the operation; each item initiates a separate request.

Output shape

array

Each element corresponds to a file record. When 'Simplify' is enabled, the file objects contain only essential fields; otherwise they include the fields selected via 'Fields to Return' (or all fields if none selected). If 'Return All' is disabled, the number of results is limited by the 'Limit' value (default 50, max 100).

Examples

Example 1: Get the first 10 files, returning only id and filename.

Set Limit to 10, disable Return All, enable Simplify (or select id and filename in Fields to Return).

Discussion