Statistics
Statistics operations for querying cumulative and delta metrics across different granularities (HOUR, DAY, MONTH) and entity types (GLOBAL, ECOSYSTEM, CREDENTIAL_SCHEMA, PARTICIPANT)
Get Statistics Entry
Retrieve a specific statistics entry by ID or by granularity, timestamp, entity_type, and entity_id
Get Statistics
Retrieve statistics with buckets and/or totals for a time range. If granularity is not specified, the method returns the smallest number of buckets by combining MONTH/DAY/HOUR buckets as needed. The response `granularity` will be the smallest granularity present in the returned buckets.
Get Participants at Height
Returns the number of participants for a given entity (GLOBAL, ECOSYSTEM, CREDENTIAL_SCHEMA, or PARTICIPANT) and role type at the block selected by the At-Block-Height header (or the latest indexed block when omitted), based on the entity_participant_changes log.
Get Stats Snapshot
Return the current value of every tracked metric for one entity (the whole network, an Ecosystem, a Credential Schema, or a Participant sub-tree) at the block selected by the At-Block-Height header, or the latest indexed block when omitted. Participant counts read from the entity_participant_changes log; the other metrics read from the height-versioned entity tables. Replaces GET /v4/metrics/all.