GET /metrics/
Retrieve usage metrics for a specific basin. This endpoint provides detailed insights into basin-level operations, throughput, and storage.Path Parameters
Basin name to retrieve metrics for
Query Parameters
Metric set to return. Available values:
storage- Amount of stored data, per hour, aggregated over all streams in the basinappend-ops- Append operations, per intervalread-ops- Read operations, per intervalread-throughput- Read bytes, per intervalappend-throughput- Appended bytes, per intervalbasin-ops- Count of basin RPC operations, per interval
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 basin 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 name
Invalid or missing authentication token, or insufficient permissions for the basin
Request took too long to process