Skip to main content

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 basin
  • append-ops - Append operations, per interval
  • read-ops - Read operations, per interval
  • read-throughput - Read bytes, per interval
  • append-throughput - Appended bytes, per interval
  • basin-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:
  • minute
  • hour
  • day

Response

Returns a MetricSetResponse 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