v2

latestOpenAPI 3.0.1raw.githubusercontent.com2024-06-24221444.3 KB
Stats

Retrieve usage statistics for an application

The Ably system can be queried to obtain usage statistics for a given application, and results are provided aggregated across all channels in use in the application in the specified period. Stats may be used to track usage against account quotas.

get/stats

Query parameters

startstring
limitinteger
endstring
direction'forwards' | 'backwards'
unit'minute' | 'hour' | 'day' | 'month'

Specifies the unit of aggregation in the returned results.

Response

OK

object required