statsig · JSON Structure

Statsig Experiment Structure

A Statsig A/B test experiment with defined groups and parameter configuration.

Type: Properties: 0

Experiment is a JSON Structure definition published by statsig.

Meta-schema:

JSON Structure

Raw ↑
{
  "name": "Experiment",
  "description": "A Statsig A/B test experiment with defined groups and parameter configuration.",
  "fields": [
    { "name": "id", "type": "string", "required": true, "description": "Unique experiment identifier." },
    { "name": "name", "type": "string", "required": true, "description": "Experiment name." },
    { "name": "description", "type": "string", "required": false, "description": "Experiment description." },
    { "name": "hypothesis", "type": "string", "required": false, "description": "The hypothesis being tested." },
    { "name": "status", "type": "string", "required": false, "enum": ["setup", "active", "decision_made", "abandoned"], "description": "Experiment lifecycle status." },
    { "name": "groups", "type": "array", "required": false, "description": "Experiment groups with parameter values." },
    { "name": "allocation", "type": "number", "required": false, "description": "Percentage of eligible users allocated (0-100)." },
    { "name": "layerID", "type": "string", "required": false, "description": "Associated layer identifier." },
    { "name": "targetingGateID", "type": "string", "required": false, "description": "Gate used to filter eligible users." },
    { "name": "tags", "type": "array", "required": false, "description": "Organizational tags." },
    { "name": "createdTime", "type": "integer", "required": false, "description": "Creation timestamp (ms)." },
    { "name": "lastModifiedTime", "type": "integer", "required": false, "description": "Last modification timestamp (ms)." }
  ],
  "nested": [
    {
      "name": "ExperimentGroup",
      "fields": [
        { "name": "name", "type": "string", "required": false, "description": "Group name (e.g., control, test)." },
        { "name": "size", "type": "number", "required": false, "description": "Percentage of allocated users in this group." },
        { "name": "parameterValues", "type": "object", "required": false, "description": "Parameter key-value pairs for this group." }
      ]
    }
  ]
}

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-experiment-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 email required.

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