Get evaluations usage
Get time-series arrays of the number of times a flag is evaluated, broken down by the variation that resulted from that evaluation. The granularity of the returned data depends on the length of the requested time range: ranges shorter than two hours return minutely data, ranges shorter than two days return hourly data, and ranges of two days or longer return daily data. Minutely data is retained for 70 days; a range shorter than two hours that starts before then is returned at hourly granularity instead, with the start of the range widened to the containing hour. Ranges that predate available data return an empty series list. If a flag has served many distinct variation values in the requested range, the least recently seen values may be aggregated into a single additional series labeled “Other Variations”.
Authorizations
Path Parameters
The project key
The environment key
The feature flag key
Query Parameters
The series of data returned starts from this timestamp. Defaults to 30 days ago.
The series of data returned ends at this timestamp. Defaults to the current time.
The timezone to use for breaks between days when returning daily data.
Response
Usage response
The location and content type of related resources
Metadata about each series
An array of data points with timestamps. Each element of the array is an object with a 'time' field, whose value is the timestamp, and one or more key fields. If there are multiple key fields, they are labeled '0', '1', and so on, and are explained in the metadata.