GET /metrics/
Retrieve usage metrics for a specific basin. This endpoint provides detailed insights into basin-level operations, throughput, and storage.Path Parameters
string
required
Basin name to retrieve metrics for
Query Parameters
string
required
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
integer
Start timestamp as Unix epoch seconds. Required for timeseries metric sets.
integer
End timestamp as Unix epoch seconds. Required for timeseries metric sets.
string
Interval to aggregate over for timeseries metric sets. Available values:
minutehourday
Response
Returns aMetricSetResponse object containing the requested basin metrics.
array
Array of metrics comprising the set. Each metric can be one of four types:
Error Responses
Bad Request
Invalid query parameters, malformed request, or invalid basin name
Forbidden
Invalid or missing authentication token, or insufficient permissions for the basin
Request Timeout
Request took too long to process