Skip to content
handupbeta
Download

estimate

View as Markdown
GET
/v1/storage/estimate

What a cleanup would remove now, for the inline confirmation. Local, and view scope on paired devices.

target
required

What a cleanup removes.

string
Allowed values: history files

History (requests, audit, unshared files) or files (files only)

older_than_days
integer format: int32

Only requests resolved at least this many days ago; 0 or absent = every resolved request

keep_newest
integer format: int32

Keep the newest this many resolved requests; 0 or absent = no count limit

Media typeapplication/json

What a cleanup would remove right now (an estimate: requests keep resolving).

object
requests
required

Resolved requests deleted (0 for a files-only cleanup).

integer format: int64
files
required

Files removed from disk.

integer format: int64
bytes
required

Approximate bytes freed: file sizes plus, for history, request and audit rows.

integer format: int64

Invalid target