Nurama Developers
Storage

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.

GET
/storage/chart/{resourceType}/{resourceId}

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
AuthorizationBearer <token>

In: header

Path Parameters

resourceId*string
Formatuuid
resourceType*string

Value in

  • "user"
  • "workspace"
  • "project"
  • "chat"
  • "asset"

Query Parameters

startDate?integer

Range start as a UNIX epoch timestamp in milliseconds.

Range0 <= value
endDate?integer

Range end as a UNIX epoch timestamp in milliseconds.

Range0 <= value
aggregationPeriod?string
Default"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  }]