v2

latestOpenAPI 3.1.02026-08-0888266502.2 KB
Data API Usage Metrics

[Deprecated] Gets metrics for public Subnet RPC usage over a specified time interval aggregated at the specified time-duration granularity.

⚠️ This operation will be removed in a future release. Please use /v1/subnetRpcUsageMetrics endpoint instead.

get/v1/rpcUsageMetrics

Query parameters

timeInterval'hourly' | 'daily' | 'weekly' | 'monthly'

Time interval granularity for data aggregation for subnet rpc metrics

startTimestampinteger

The start time of the range as a UNIX timestamp. The requested start time will be rounded down to 0:00 UTC of the day.

endTimestampinteger

The end time of the range as a UNIX timestamp. The requested end time will be rounded down to 0:00 UTC of the day.

groupBy'rpcMethod' | 'responseCode' | 'rlBypassToken'

Query param for the criterion used for grouping metrics

chainIdstring

Filter data by chain ID.

responseCodestring

Filter data by response status code.

rpcMethodstring

Filter data by RPC method.

rlBypassApiTokenstring

Filter data by Rl Bypass API Token.

Response

Successful response

aggregateDurationstring required

Duration in which the metrics value is aggregated

chainIdstring required

ChainId for which the metrics are aggregated