Statsig · JSON Structure

Statsig Feature Gate Structure

A Statsig feature gate controlling access to features based on targeting rules.

Type: Properties: 0

FeatureGate is a JSON Structure definition published by Statsig.

Meta-schema:

JSON Structure

Raw ↑
{
  "name": "FeatureGate",
  "description": "A Statsig feature gate controlling access to features based on targeting rules.",
  "fields": [
    { "name": "id", "type": "string", "required": true, "description": "Unique gate identifier." },
    { "name": "name", "type": "string", "required": true, "description": "Gate name." },
    { "name": "description", "type": "string", "required": false, "description": "Gate description." },
    { "name": "isEnabled", "type": "boolean", "required": false, "description": "Whether the gate is enabled." },
    { "name": "status", "type": "string", "required": false, "enum": ["active", "disabled", "launched", "archived"], "description": "Gate lifecycle status." },
    { "name": "rules", "type": "array", "required": false, "description": "Targeting rules." },
    { "name": "tags", "type": "array", "required": false, "description": "Organizational tags." },
    { "name": "targetApps", "type": "array", "required": false, "description": "Scoped target applications." },
    { "name": "createdTime", "type": "integer", "required": false, "description": "Creation timestamp (ms)." },
    { "name": "lastModifiedTime", "type": "integer", "required": false, "description": "Last modification timestamp (ms)." }
  ],
  "nested": [
    {
      "name": "Rule",
      "fields": [
        { "name": "id", "type": "string", "required": false },
        { "name": "name", "type": "string", "required": false },
        { "name": "passPercentage", "type": "number", "required": false, "description": "0-100 percentage of matching users who pass." },
        { "name": "conditions", "type": "array", "required": false },
        { "name": "returnValue", "type": "object", "required": false },
        { "name": "environments", "type": "array", "required": false }
      ]
    }
  ]
}

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-feature-gate-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.