capabilities.work

Browse Bucket Files

A 4-step recipe with Backblaze. We can help you get access.

Recipe · 4 steps

Browse Bucket Files

List buckets, list a bucket's files, and inspect the first file.

  1. Log in to the B2 API to obtain the accountId and authorization token.
  2. List the buckets owned by the authorized account.
  3. List the file names contained in the target bucket, returning at most the requested number of files.
  4. Fetch the full metadata for the first file returned by the listing using its fileId.
What you'll need to have ready
  • bucketId: The bucket whose file names should be listed.
  • maxFileCount: Maximum number of file names to return (1-10000).
For your developer

Arazzo workflow backblaze:browse-bucket-files, 4 operations: authorizeAccount → listBuckets → listFileNames → getFileInfo. Specs on APIs.io.