Folder summaries
Query parameters
string
required
Comma-separated folder paths, relative to the storage root. Maximum 200 per
request. An empty or missing value returns an empty
summaries object rather
than an error.photos,videos · photos/2026,archiveResponse
object
Keyed by the folder path you asked for.
200 success · 400 more than 200 paths, or a path that escapes the storage root · 500 storage backend failed
Example
Storage stats
Response
object
Stored originals:
size in bytes and fileCount.object
Cached transformation variants. On a cloud backend this combines the local
disk cache with the cache stored in the bucket, so it is one number for both.
string
ISO 8601 timestamp of the counters these figures came from. On local storage
the tree is walked per request, so this is always now.
On a cloud backend the figures come from incremental counters rather than a
live bucket listing, which is what keeps this endpoint cheap. They can drift
if the bucket is changed outside Openinary. Use the recalculate endpoint below
to reconcile.
200 success · 500 storage backend failed
Recalculate stats
GET /storage/stats. Use it when the counters have drifted, typically after objects were added or removed outside Openinary.
Status codes: 200 success · 500 storage backend failed
Example
Related
List Storage
Browse folders and files one level at a time.
List Folders
Every folder path, for building a folder picker.