Skip to main content
GET
Read volume spend

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

from
string<date-time>

Inclusive sample timestamp. Defaults to the current UTC month, capped at 30 days before to.

to
string<date-time>

Exclusive sample timestamp. Defaults to now. Maximum window: 30 days.

volume_id
string[]

Repeatable volume ID filter.

Maximum array length: 200
group_by
enum<string>
default:volume
Available options:
volume,
hour,
day
limit
integer
default:1000

Maximum rows returned. Zero returns totals only.

Required range: 0 <= x <= 1000
starting_after
string

The preceding response's next_cursor. Rows are ordered by volume ID or UTC bucket start. Keep the same filters and explicit time bounds across requests; reads are not a point-in-time snapshot.

Response

Observed volume storage and estimated spend.

start_at
string<date-time>
required
end_at
string<date-time>
required
gib_hours
number
required

Sum of recorded hourly storage quantities.

sampled_hours
integer<int64>
required

Number of recorded volume-hour samples; time groups sum across volumes.

cost_usd_nanos
integer<int64>
required

Estimated cost at the returned current list rate, in billionths of a US dollar.

rate_usd_nanos_per_gib_hour
integer<int64>
required

Current list rate, not a historical or customer contract rate.

group_by
enum<string>
required
Available options:
volume,
hour,
day
items
object[]
required
has_more
boolean
required
next_cursor
string
required

Pass as starting_after; empty when exhausted.