GetAPIStatisticsParams
Defined in: src/types/api_statistics.ts:41
Query parameters for retrieving API usage statistics.
Properties
Section titled “Properties”aggregate?
Section titled “aggregate?”
optionalaggregate?:string
Defined in: src/types/api_statistics.ts:55
Aggregation measure (e.g. count).
aggregation_interval?
Section titled “aggregation_interval?”
optionalaggregation_interval?:string
Defined in: src/types/api_statistics.ts:57
Aggregation interval aligned with dashboard stats (e.g. day, week).
optionalapi?:string
Defined in: src/types/api_statistics.ts:49
api_path?
Section titled “api_path?”
optionalapi_path?:string
Defined in: src/types/api_statistics.ts:45
Filter by API path for GET /admin/api_stats (query key api_path).
end_time?
Section titled “end_time?”
optionalend_time?:number
Defined in: src/types/api_statistics.ts:65
End of the time range as a Unix timestamp (seconds).
fw_version?
Section titled “fw_version?”
optionalfw_version?:string
Defined in: src/types/api_statistics.ts:53
Filter by node firmware version.
group_by?
Section titled “group_by?”
optionalgroup_by?:string
Defined in: src/types/api_statistics.ts:69
Group results (e.g. api_path, user).
method?
Section titled “method?”
optionalmethod?:string
Defined in: src/types/api_statistics.ts:51
Filter by HTTP method.
num_records?
Section titled “num_records?”
optionalnum_records?:string|number
Defined in: src/types/api_statistics.ts:59
Maximum number of records to return per page.
start_id?
Section titled “start_id?”
optionalstart_id?:string
Defined in: src/types/api_statistics.ts:61
Pagination cursor from the previous response (next_id).
start_time?
Section titled “start_time?”
optionalstart_time?:number
Defined in: src/types/api_statistics.ts:63
Start of the time range as a Unix timestamp (seconds).
timezone?
Section titled “timezone?”
optionaltimezone?:string
Defined in: src/types/api_statistics.ts:67
Timezone for the statistics data.