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 '{}'
{ "usage": [ {} ] }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The body is of type object.
object
OK
The usage time series.
Was this page helpful?