JsonCut icon

JsonCut

Interact with JsonCut API for image and video generation

File → List

AI-generated

Summary

Retrieve a list of uploaded files from JsonCut storage, optionally filtered by file category and inclusion of output files, with options to return all results or limit the number returned, and to simplify the response data.

Inputs

  • Return All — Boolean flag to control whether to return all matching files or limit the results.
  • Limit — Maximum number of file entries to return when Return All is false (minimum 1).
  • Additional Fields — Optional filters and options including Category to filter files by (Image, Video, Audio, Font) and Include Output to include output files in the results.
  • Simplify — Boolean flag to specify whether to return a simplified version of the file data instead of the raw API response.

Output shape

a list of file records, each representing an uploaded file in JsonCut storage

If 'Return All' is true, the operation paginates internally to fetch all files up to 100 per page as supported by the API. The 'Simplify' option reduces the data to key file attributes. Errors during API calls result in exceptions unless the node is set to continue on fail.

Examples

Example 1: List up to 50 image category files with simplified data

set Return All to false, Limit to 50, Additional Fields Category to 'Image', Simplify to true

Example 2: List all files including output files without simplification

set Return All to true, Additional Fields Include Output to true, Simplify to false

Discussion