Get storage chart data
Returns the average `sizeInBytes` of a resource's storage records per aggregation period between `startDate` and `endDate`, with missing periods filled from the previous value. Allowed when requesting your own user storage, or when you hold `canGet{ResourceType}Storage` (e.g. `canGetWorkspaceStorage`) on the resource.
Returns the average sizeInBytes of a resource's storage records per aggregation period between startDate and endDate, with missing periods filled from the previous value. Allowed when requesting your own user storage, or when you hold canGet{ResourceType}Storage (e.g. canGetWorkspaceStorage) on the resource.
OAuth 2.1 authorization code flow with PKCE (required of every client, public or confidential). Scopes are a ceiling on the credential, not a grant of access: a token also cannot exceed what the user who approved it may already do. A write scope does not imply its matching read — ask for both.
In: header
Scope: workspaces:read
Path Parameters
Value in
- "user"
- "workspace"
- "project"
- "chat"
- "asset"
uuidQuery Parameters
Range start as a UNIX epoch timestamp in milliseconds.
0 <= valueRange end as a UNIX epoch timestamp in milliseconds.
0 <= value"day"Value in
- "year"
- "month"
- "week"
- "day"
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/storage/chart/user/497f6eca-6276-4993-bfeb-53cbbbba6f08"[ { "period": "2026-09-20", "averageSizeInBytes": 0 }]