curl --request GET \
--url https://statsigapi.net/console/v1/metrics/values \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Metric values listed successfully.",
"data": [
{
"value": 21377,
"unitType": "overall",
"numerator": null,
"denominator": null,
"metricName": "Page Loads",
"metricType": "event_count_custom"
},
{
"value": 21377,
"unitType": "stableID",
"numerator": null,
"denominator": null,
"metricName": "Page Loads",
"metricType": "event_count_custom"
},
{
"value": 21355,
"unitType": "userID",
"numerator": null,
"denominator": null,
"metricName": "Page Loads",
"metricType": "event_count_custom"
},
{
"value": 646524,
"unitType": "stableID",
"numerator": null,
"denominator": null,
"metricName": "Average Time Spent on Page",
"metricType": "event_user"
},
{
"value": 5676,
"unitType": "stableID",
"numerator": null,
"denominator": null,
"metricName": "Page Latency",
"metricType": "mean"
}
],
"pagination": {
"itemsPerPage": 5,
"pageNumber": 1,
"totalItems": 5767,
"nextPage": "/console/v1/metrics/values?date=2024-02-04&page=2&limit=5",
"previousPage": null
}
}
List all metric values
curl --request GET \
--url https://statsigapi.net/console/v1/metrics/values \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Metric values listed successfully.",
"data": [
{
"value": 21377,
"unitType": "overall",
"numerator": null,
"denominator": null,
"metricName": "Page Loads",
"metricType": "event_count_custom"
},
{
"value": 21377,
"unitType": "stableID",
"numerator": null,
"denominator": null,
"metricName": "Page Loads",
"metricType": "event_count_custom"
},
{
"value": 21355,
"unitType": "userID",
"numerator": null,
"denominator": null,
"metricName": "Page Loads",
"metricType": "event_count_custom"
},
{
"value": 646524,
"unitType": "stableID",
"numerator": null,
"denominator": null,
"metricName": "Average Time Spent on Page",
"metricType": "event_user"
},
{
"value": 5676,
"unitType": "stableID",
"numerator": null,
"denominator": null,
"metricName": "Page Latency",
"metricType": "mean"
}
],
"pagination": {
"itemsPerPage": 5,
"pageNumber": 1,
"totalItems": 5767,
"nextPage": "/console/v1/metrics/values?date=2024-02-04&page=2&limit=5",
"previousPage": null
}
}
Optional header to respect review settings for mutation endpoints.
Results per page
10
Page number
1
List All Metric Values Response
The response is of type object
.