GET /metrics//
Retrieve usage metrics for a specific stream within a basin. This endpoint provides stream-level storage information.Path Parameters
Basin name containing the stream
Stream name to retrieve metrics for
Query Parameters
Metric set to return. Available values:
storage- Amount of stored data, per minute, for the specific stream
Start timestamp as Unix epoch seconds. Required for timeseries metric sets.
End timestamp as Unix epoch seconds. Required for timeseries metric sets.
Interval to aggregate over for timeseries metric sets. Available values:
minutehourday
Response
Returns aMetricSetResponse object containing the requested stream metrics.
Array of metrics comprising the set. Each metric can be one of four types:
Error Responses
Invalid query parameters, malformed request, or invalid basin/stream name
Invalid or missing authentication token, or insufficient permissions for the stream
Request took too long to process
Notes
- Storage metrics represent the instantaneous amount of data stored in the stream at each timestamp
- The storage metric uses a gauge type, meaning each data point represents the value at that specific point in time
- Finer granularity (minute intervals) provides more detailed tracking of storage growth over time