PostHog · Schema

MinimalFeatureFlag

A/B TestingAnalyticsFeature FlagsOpen-SourceProduct AnalyticsSession Recording

Properties

Name Type Description
id integer
team_id integer
name string
key string
filters object
deleted boolean
active boolean
ensure_experience_continuity boolean
has_encrypted_payloads boolean
version integer
evaluation_runtime object Specifies where this feature flag should be evaluated * `server` - Server * `client` - Client * `all` - All
bucketing_identifier object Identifier used for bucketing users into rollout and variants * `distinct_id` - User ID (default) * `device_id` - Device ID
evaluation_contexts array
View JSON Schema on GitHub

JSON Schema

posthog-minimalfeatureflag-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MinimalFeatureFlag",
  "title": "MinimalFeatureFlag",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "team_id": {
      "type": "integer",
      "readOnly": true
    },
    "name": {
      "type": "string"
    },
    "key": {
      "type": "string",
      "maxLength": 400
    },
    "filters": {
      "type": "object",
      "additionalProperties": true
    },
    "deleted": {
      "type": "boolean"
    },
    "active": {
      "type": "boolean"
    },
    "ensure_experience_continuity": {
      "type": "boolean",
      "nullable": true
    },
    "has_encrypted_payloads": {
      "type": "boolean",
      "nullable": true
    },
    "version": {
      "type": "integer",
      "maximum": 2147483647,
      "minimum": -2147483648,
      "nullable": true
    },
    "evaluation_runtime": {
      "nullable": true,
      "description": "Specifies where this feature flag should be evaluated\n\n* `server` - Server\n* `client` - Client\n* `all` - All",
      "oneOf": [
        {
          "$ref": "#/components/schemas/EvaluationRuntimeEnum"
        },
        {
          "$ref": "#/components/schemas/BlankEnum"
        },
        {
          "$ref": "#/components/schemas/NullEnum"
        }
      ]
    },
    "bucketing_identifier": {
      "nullable": true,
      "description": "Identifier used for bucketing users into rollout and variants\n\n* `distinct_id` - User ID (default)\n* `device_id` - Device ID",
      "oneOf": [
        {
          "$ref": "#/components/schemas/BucketingIdentifierEnum"
        },
        {
          "$ref": "#/components/schemas/BlankEnum"
        },
        {
          "$ref": "#/components/schemas/NullEnum"
        }
      ]
    },
    "evaluation_contexts": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "readOnly": true
    }
  },
  "required": [
    "evaluation_contexts",
    "id",
    "key",
    "team_id"
  ]
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/posthog-minimalfeatureflag"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.