Sign up and get started with Confidence today! Create your account
Query time series data about how much this flag was used recently. You cannot query more than 7 days back in time.
cURL
curl --request POST \ --url https://flags.eu.confidence.dev/v1/flags/{flag}/usage:query \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "startTime": {}, "endTime": {} } '
{ "usage": [ { "hourTime": {}, "variants": [ {} ] } ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Start time of the query, can at most be 7 days before the current date.
End time of the query.
OK
The usage time series.
Show child attributes
Was this page helpful?
Contact support