curl --request GET \
--url http://localhost:3000/projects/{projectId}/analytics/top-flags \
--header 'Authorization: Bearer <token>'{
"statusCode": 123,
"message": "OK",
"data": [
{
"flagId": "<string>",
"flagKey": "<string>",
"flagName": "<string>",
"evaluations": 123,
"errors": 123,
"errorRate": 123,
"avgResponseTimeMs": 123
}
]
}Get top flags ranked by evaluation count with error rate and avg response time.
curl --request GET \
--url http://localhost:3000/projects/{projectId}/analytics/top-flags \
--header 'Authorization: Bearer <token>'{
"statusCode": 123,
"message": "OK",
"data": [
{
"flagId": "<string>",
"flagKey": "<string>",
"flagName": "<string>",
"evaluations": 123,
"errors": 123,
"errorRate": 123,
"avgResponseTimeMs": 123
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
24h