Statsig · JSON Structure

Statsig Event Structure

A Statsig event for analytics and experiment analysis.

Type: Properties: 0

StatsigEvent is a JSON Structure definition published by Statsig.

Meta-schema:

JSON Structure

Raw ↑
{
  "name": "StatsigEvent",
  "description": "A Statsig event for analytics and experiment analysis.",
  "fields": [
    { "name": "user", "type": "StatsigUser", "required": true, "description": "The user associated with the event." },
    { "name": "eventName", "type": "string", "required": true, "description": "Name of the event." },
    { "name": "time", "type": "integer", "required": true, "description": "Timestamp in milliseconds since epoch." },
    { "name": "value", "type": "string|number", "required": false, "description": "Optional event value." },
    { "name": "metadata", "type": "object", "required": false, "description": "Optional key-value metadata." }
  ],
  "nested": [
    {
      "name": "StatsigUser",
      "fields": [
        { "name": "userID", "type": "string", "required": false, "description": "Unique user identifier." },
        { "name": "email", "type": "string", "required": false, "description": "User email address." },
        { "name": "ip", "type": "string", "required": false, "description": "User IP address." },
        { "name": "userAgent", "type": "string", "required": false, "description": "User agent string." },
        { "name": "country", "type": "string", "required": false, "description": "Two-letter country code." },
        { "name": "locale", "type": "string", "required": false, "description": "Locale identifier." },
        { "name": "appVersion", "type": "string", "required": false, "description": "Application version." },
        { "name": "custom", "type": "object", "required": false, "description": "Custom user properties." },
        { "name": "privateAttributes", "type": "object", "required": false, "description": "Private attributes (stripped before logging)." },
        { "name": "customIDs", "type": "object", "required": false, "description": "Custom identifier mappings." }
      ]
    }
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/statsig-event-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.