Skip to main content

List Resources

Lists all available resources in the project with optional filtering.

Category: File & Folder Operations · Group: Files · Activity name: ListResources

The ListResources activity in the designer

Example

outputVariable = ListResources(names=[], folder="<folder>", resourceType="<resourceType>", tags="<tags>", limit=0)

Inputs

NameTypeRequiredDefaultDescription
Filter by NamesarrayResource names to filter by (exact match, up to 30 names).
Filter by FolderstringFilter resources by folder (exact match).
Resource TypestringFilter by resource type (document, image, data, config, other). Leave empty for all types.
Filter by TagsstringComma-separated tags to filter resources. Resources matching any tag will be returned.
Maximum ResultsintegerMaximum number of resources to return (default: 50, max: 500).

Outputs

NameTypeDescription
outputVariablearrayArray of resource objects. Each resource contains: - resource_id: Unique resource identifier - name: Resource display name - description: Optional description - type: Resource type (document, image, data, config, other) - mime_type: MIME type (e.g., "text/csv", "application/pdf") - size: File size in bytes - folder: Folder name (if organized) - tags: Array of tag strings - created_at: Creation timestamp - updated_at: Last update timestamp - metadata: Object with original_filename and checksum Access fields using: {{resources[0]["resource_id"]}} to get the first resource's ID. {{resources[0]["name"]}} to get the first resource's name. Use a ForEachLoop to iterate over all resources.