GET
/
v1
/
rpcUsageMetrics

Authorizations

x-glacier-api-key
string
headerrequired

Api keys provide higher access to rate limits. To obtain an api key, sign up for an account at https://avacloud.io/.

Query Parameters

timeInterval
enum<string>

Time interval granularity for data aggregation for subnet rpc metrics

Available options:
hourly,
daily,
weekly,
monthly
startTimestamp
integer

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.

Required range: x > 0
endTimestamp
integer

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.

Required range: x > 0
groupBy
enum<string>

Query param for the criterion used for grouping metrics

Available options:
rpcMethod,
responseCode,
rlBypassToken
chainId
string

Filter data by chain ID.

responseCode
string

Filter data by response status code.

rpcMethod
string

Filter data by RPC method.

rlBypassApiToken
string

Filter data by Rl Bypass API Token.

Response

200 - application/json
aggregateDuration
string
required

Duration in which the metrics value is aggregated

chainId
string
required

ChainId for which the metrics are aggregated

metrics
object[]
required

Metrics values