Skip to main content
GET
Account-level metrics.

Metrics concepts

Review metric sets, parameters, scopes, and response types.

Metric sets

active-basins

Returns a label metric representing all basins which had at least one stream within the specified period. This can be used to determine which basins to request basin-specific metrics for, when attempting to summarize account-level metrics for a period. Requires a start and end timestamp.

account-ops

Returns a set of accumulation metrics, one per account operation. Each account-level request is a single operation, and this endpoint will return as many timeseries as there are distinct account operations with non-zero values within the specified period. Requires a start and end timestamp. Accepts an optional interval parameter for minute / hour / day aggregations.
Requests for account-metrics, basin-metrics, and stream-metrics are also account operations that are metered the same way!

estimated-billable-usage

Returns account-wide accumulation metrics of estimated charges by pricing category. The unit is usd: values are fractional dollars, not cents. Series names use the ops.*, storage.*, and transfer.* prefixes for operations, storage, and transfers. other captures uncategorized charges, and total sums all categories. Do not add total to the category series when calculating overall usage. Requires start and end timestamps, with a maximum range of 90 days. Accepts interval=hour (the default) or interval=day; minute intervals are not supported.
The same data is available in the dashboard’s Billing tab, with daily totals and hourly drill-down.
Only finalized hours are included, so a daily point may be incomplete. Estimates reflect gross usage; the actual invoice may differ.

Authorizations

Authorization
string
header
required

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

Query Parameters

set
enum<string>
required

Metric set to return. Account-level metric sets. estimated-billable-usage returns estimated USD by billing dimension and as a total series. Supports hour (default) and day intervals, aggregating finalized hours. Daily points may be partial.

Available options:
active-basins,
account-ops,
estimated-billable-usage
start
integer<int32>

Start timestamp as Unix epoch seconds, if applicable for the metric set. Time ranges may span at most 90 days.

Required range: x >= 0
end
integer<int32>

End timestamp as Unix epoch seconds, if applicable for the metric set.

Required range: x >= 0
interval
enum<string>

Interval to aggregate over for timeseries metric sets.

Available options:
minute,
hour,
day

Response

values
object[]
required

Metrics comprising the set.

Single named value.