Get disk usage
get_diskRetrieve the authenticated Plori account's disk usage and billing details, including included, purchased, and used bytes plus monthly cost.
Instructions
Get the authenticated account's disk state (included, purchased, used bytes, and monthly cost).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agents | No | The account's Agents that have a disk, largest used_bytes first: where the account's usage is and how much of each Agent's is trash. | |
| used_bytes | Yes | ||
| total_bytes | Yes | ||
| trash_bytes | No | ||
| usage_stale | No | True when a mount is holding one of the account's disks but has not reported its usage within the writer-lease lifetime. used_bytes is then the last figure that mount reported, not the current one — treat it as a floor and say so rather than quoting it as the account's usage. | |
| warning_level | Yes | ||
| included_bytes | Yes | ||
| monthly_credits | Yes | ||
| purchased_bytes | Yes | ||
| usage_observed_at | No | When a mount last reported the used figure. Present only while a mount is holding one of the account's disks; when none is, nothing can be changing the figure and there is no reporting clock to quote. | |
| storage_credits_per_gb | Yes |