Lemon Squeezy icon

Lemon Squeezy

Interact with Lemon Squeezy API

File → Get Many

AI-generated

Summary

Lists file records (downloadable product files) from Lemon Squeezy, optionally filtered by variant ID, returning either all results or up to a limit.

Inputs

  • Return All — If true, fetches every page of results; if false (default), uses Limit.
  • Limit — Max results to return when Return All is off. Default 50, range 1–100.
  • Filters — Optional collection. Currently supports Variant ID, which restricts files to that variant (sent as a filter[variant_id] query parameter).
  • Simplify — Default true. Flattens JSON:API attributes to the top level of each item; disable to get raw type/attributes/relationships.
  • Retry Options — Optional Max Retries (default 3, 0 disables) and Initial Delay in ms (default 1000, doubles each retry) for failed API requests.

Output shape

A list of file items, one n8n item per file. With Simplify on, each has id, type and the file attributes at top level; otherwise raw JSON:API objects.

This operation returns file metadata only; it does not download binary content (that is a separate Download operation). Pagination follows the API's next links when Return All is enabled. Requests are retried on rate limits and server/network errors.

Examples

Example 1: List all files attached to a specific product variant

Return All: off, Limit: 50, Filters > Variant ID: 12345, Simplify: on

Example 2: Export every file record in the account for auditing

Return All: on, no filters, Simplify: off for raw JSON:API output

Links

Discussion