List Depot usage per project
depot_list_project_usageLists build counts, total build time, and layer cache size per project for a specified period, sorted by cache size.
Instructions
List every Depot container build project's build count, total build time, and layer cache size for a period, in one call.
Use this for "which project holds the most cache", "which projects are actually building", and "where is our storage going". Rows are sorted by layer cache size, largest first, and carry the project name when depot_list_projects can supply it. For minutes billed and minutes saved by caching use depot_get_usage; for one project's cache health use depot_get_cache_summary.
Organization token only. Defaults to the last 30 days; Depot pages long lists, so re-call with pageToken when nextPageToken is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look back this many days from now. Ignored when startAt and endAt are both given. | |
| endAt | No | End of the window, RFC 3339 or YYYY-MM-DD. Dates are UTC. A date-only value is inclusive: "2024-01-31" covers all of 31 January. Requires startAt. | |
| startAt | No | Start of the window, RFC 3339 or YYYY-MM-DD. Dates are UTC; a date-only value means midnight at the start of that day. Requires endAt. | |
| pageToken | No | Continue a previous listing: pass the nextPageToken from the last call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| totals | Yes | ||
| projects | Yes | ||
| returned | Yes | ||
| periodEnd | Yes | ||
| periodStart | Yes | ||
| nextPageToken | No |