curl --request GET \
--url https://statsigapi.net/console/v1/events/{eventName} \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Event values listed successfully.",
"data": [
{
"timestamp": "1720567904601",
"name": "add_to_cart",
"source": "statsig-node",
"value": "appliances",
"userID": "3411",
"metadata": {}
},
{
"timestamp": "1720567904594",
"name": "add_to_cart",
"source": "statsig-node",
"value": "sports",
"userID": "1037",
"metadata": {}
},
{
"timestamp": "1720567904307",
"name": "add_to_cart",
"source": "statsig-node",
"value": "",
"userID": "5056",
"metadata": {}
},
{
"timestamp": "1720567904299",
"name": "add_to_cart",
"source": "statsig-node",
"value": "books",
"userID": "7326",
"metadata": {}
},
{
"timestamp": "1720567904288",
"name": "add_to_cart",
"source": "statsig-node",
"value": "books",
"userID": "166",
"metadata": {}
},
{
"timestamp": "1720567904310",
"name": "add_to_cart",
"source": "statsig-node",
"value": "office products",
"userID": "3255",
"metadata": {}
},
{
"timestamp": "1720567904299",
"name": "add_to_cart",
"source": "statsig-node",
"value": "sports",
"userID": "8598",
"metadata": {}
}
],
"pagination": {
"itemsPerPage": 7,
"pageNumber": 1,
"totalItems": 100,
"nextPage": "/console/v1/events/add_to_cart?page=2&limit=7",
"previousPage": null,
"all": "/console/v1/events/add_to_cart"
}
}
curl --request GET \
--url https://statsigapi.net/console/v1/events/{eventName} \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Event values listed successfully.",
"data": [
{
"timestamp": "1720567904601",
"name": "add_to_cart",
"source": "statsig-node",
"value": "appliances",
"userID": "3411",
"metadata": {}
},
{
"timestamp": "1720567904594",
"name": "add_to_cart",
"source": "statsig-node",
"value": "sports",
"userID": "1037",
"metadata": {}
},
{
"timestamp": "1720567904307",
"name": "add_to_cart",
"source": "statsig-node",
"value": "",
"userID": "5056",
"metadata": {}
},
{
"timestamp": "1720567904299",
"name": "add_to_cart",
"source": "statsig-node",
"value": "books",
"userID": "7326",
"metadata": {}
},
{
"timestamp": "1720567904288",
"name": "add_to_cart",
"source": "statsig-node",
"value": "books",
"userID": "166",
"metadata": {}
},
{
"timestamp": "1720567904310",
"name": "add_to_cart",
"source": "statsig-node",
"value": "office products",
"userID": "3255",
"metadata": {}
},
{
"timestamp": "1720567904299",
"name": "add_to_cart",
"source": "statsig-node",
"value": "sports",
"userID": "8598",
"metadata": {}
}
],
"pagination": {
"itemsPerPage": 7,
"pageNumber": 1,
"totalItems": 100,
"nextPage": "/console/v1/events/add_to_cart?page=2&limit=7",
"previousPage": null,
"all": "/console/v1/events/add_to_cart"
}
}
Optional header to respect review settings for mutation endpoints.
Get specific events response
The response is of type object
.