ActionBackblaze B2Updated September 2026

How do I list files in a B2 bucket?

Short answer: You can list file names in Backblaze B2 by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the Backblaze B2 List File Names action to a workflow, map its 3 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.

List File Names in Backblaze B2 — start free
Inputs

The fields this action accepts.

Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.

FieldTypeRequiredDescription
Bucket ID
bucketId
stringOptional
Prefix
prefix
stringOptional
Max
maxFileCount
stringOptional
Sample request
{
"bucketId": "{{trigger.bucketId}}",
"prefix": "{{trigger.prefix}}",
"maxFileCount": "{{trigger.maxFileCount}}"
}
Returns
{
"files": [
{
"fileId": "abc",
"fileName": "file.png",
"contentLength": 1024,
"uploadTimestamp": 1620000000000
}
]
}

Use these fields in downstream nodes for routing, logging, or error handling.

Triggered by

Apps that pair well as the trigger for List File Names.

Any of these apps can fire this action as part of a workflow.

FAQ

Questions about List File Names.

What does the List File Names action do in Backblaze B2?
Returns paginated files within a bucket, optionally filtered by prefix. Useful for inventorying bucket contents or for batch processing of files matching a pattern (e.g., "all .csv files under exports/2026-05/").
What inputs does List File Names require?
List File Names has no required inputs. Sensible defaults are applied if you leave fields blank.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if Backblaze B2 returns an error?
The run history shows the failed step with its input and the error message Backblaze B2 returned, so you can fix the input and run the workflow again. Automatic retries are built into HTTP steps only, where you can also set your own retry count and delay.
Does List File Names support batch operations?
Run List File Names inside a loop to process each item in an array. TinyCommand does not throttle calls for you, so for large arrays add a Delay step if you need to stay within Backblaze B2's rate limits.
More actions

Other Backblaze B2 actions.

List File Names in Backblaze B2 — start free