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.
Authorization
bearerAuth In: header
Path Parameters
uuidValue in
- "user"
- "workspace"
- "project"
- "chat"
- "asset"
Query 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 }]