v1

latestOpenAPI 3.1.02026-07-1324323188.8 KB
Rule

Retrieves the usage statistics of a rule.

Retrieves the usage statistics of a rule for a given time range. The statistics are grouped by a smart interval (min. 1 hour) that tries to return around 100 data points. The time range can be defined using the start and end query string parameters. If no time range is defined, the statistics from the rule creation date will be returned.

get/rules/{id}/statistics

Path parameters

idstring required

The id of the rule.

Query parameters

projectIdstring required
startstring

The start date of the statistic usage in RFC 3339 format (without milliseconds). If not provided, the statistics from the rule creation date will be used.

endstring

The end date of the statistic usage in RFC 3339 format (without milliseconds).

Response

RuleStatistic collection

countinteger
datestring date-time