GET
/
console
/
v1
/
events
/
{eventName}
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"
  }
}

Authorizations

STATSIG-API-KEY
string
header
required

Headers

x-respect-review-settings
string

Optional header to respect review settings for mutation endpoints.

Path Parameters

eventName
string
required

Query Parameters

limit
integer

Results per page

Example:

10

page
integer

Page number

Example:

1

Response

200
application/json
Get specific events response
message
string
required

A simple string explaining the result of the operation.

data
object[]
required

Array of results returned by pagination limit.

pagination
object
required

Pagination metadata for checking if there is next page for example.