curl --request GET \
--url https://statsigapi.net/console/v1/events \
--header 'STATSIG-API-KEY: <api-key>'{
"message": "Event values listed successfully.",
"data": [
{
"timestamp": "1720567284328",
"name": "time_spent_on_page",
"source": "statsig-node",
"value": "463",
"userID": "1922",
"metadata": {}
},
{
"timestamp": "1720567284328",
"name": "add_to_cart",
"source": "statsig-node",
"value": "appliances",
"userID": "1922",
"metadata": {}
},
{
"timestamp": "1720567284321",
"name": "time_spent_on_page",
"source": "statsig-node",
"value": "421",
"userID": "1026",
"metadata": {}
},
{
"timestamp": "1720567284321",
"name": "add_to_cart",
"source": "statsig-node",
"value": "electronics",
"userID": "1026",
"metadata": {}
},
{
"timestamp": "1720567284485",
"name": "time_spent_on_page",
"source": "statsig-node",
"value": "273",
"userID": "8455",
"metadata": {}
}
],
"pagination": {
"itemsPerPage": 5,
"pageNumber": 1,
"totalItems": 1000,
"nextPage": "/console/v1/events?page=2&limit=5",
"previousPage": null,
"all": "/console/v1/events"
}
}curl --request GET \
--url https://statsigapi.net/console/v1/events \
--header 'STATSIG-API-KEY: <api-key>'{
"message": "Event values listed successfully.",
"data": [
{
"timestamp": "1720567284328",
"name": "time_spent_on_page",
"source": "statsig-node",
"value": "463",
"userID": "1922",
"metadata": {}
},
{
"timestamp": "1720567284328",
"name": "add_to_cart",
"source": "statsig-node",
"value": "appliances",
"userID": "1922",
"metadata": {}
},
{
"timestamp": "1720567284321",
"name": "time_spent_on_page",
"source": "statsig-node",
"value": "421",
"userID": "1026",
"metadata": {}
},
{
"timestamp": "1720567284321",
"name": "add_to_cart",
"source": "statsig-node",
"value": "electronics",
"userID": "1026",
"metadata": {}
},
{
"timestamp": "1720567284485",
"name": "time_spent_on_page",
"source": "statsig-node",
"value": "273",
"userID": "8455",
"metadata": {}
}
],
"pagination": {
"itemsPerPage": 5,
"pageNumber": 1,
"totalItems": 1000,
"nextPage": "/console/v1/events?page=2&limit=5",
"previousPage": null,
"all": "/console/v1/events"
}
}Optional header to respect review settings for mutation endpoints.
List Events response
A simple string explaining the result of the operation.
Array of results returned by pagination limit.
Show child attributes
The timestamp when the event occurred, represented as a string.
The name of the event (e.g., "add_to_cart").
The source of the event, indicating where it was triggered from.
The value associated with the event, providing additional context.
The ID of the user who triggered the event.
Pagination metadata for checking if there is next page for example.
Was this page helpful?