launchdarkly · Schema

FlagEnvironment

The configuration of a feature flag for a specific environment.

Properties

Name Type Description
true boolean Whether the flag is currently enabled in this environment.
archived boolean Whether the flag is archived in this environment.
salt string The salt used for percentage rollout hashing.
sel string The selection identifier.
lastModified integer Unix epoch timestamp of the last modification.
version integer The version number of this flag configuration.
targets array Individual context targets for each variation.
rules array Targeting rules that determine which variation to serve.
fallthrough object The default rule applied when no other rules match.
offVariation integer The variation index to serve when the flag is off.
View JSON Schema on GitHub

JSON Schema

launchdarkly-flagenvironment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FlagEnvironment",
  "title": "FlagEnvironment",
  "type": "object",
  "description": "The configuration of a feature flag for a specific environment.",
  "properties": {
    "true": {
      "type": "boolean",
      "description": "Whether the flag is currently enabled in this environment."
    },
    "archived": {
      "type": "boolean",
      "description": "Whether the flag is archived in this environment."
    },
    "salt": {
      "type": "string",
      "description": "The salt used for percentage rollout hashing."
    },
    "sel": {
      "type": "string",
      "description": "The selection identifier."
    },
    "lastModified": {
      "type": "integer",
      "format": "int64",
      "description": "Unix epoch timestamp of the last modification."
    },
    "version": {
      "type": "integer",
      "description": "The version number of this flag configuration."
    },
    "targets": {
      "type": "array",
      "description": "Individual context targets for each variation.",
      "items": {
        "$ref": "#/components/schemas/Target"
      }
    },
    "rules": {
      "type": "array",
      "description": "Targeting rules that determine which variation to serve.",
      "items": {
        "$ref": "#/components/schemas/Rule"
      }
    },
    "fallthrough": {
      "type": "object",
      "description": "The default rule applied when no other rules match.",
      "properties": {
        "variation": {
          "type": "integer",
          "description": "The variation index to serve."
        },
        "rollout": {
          "$ref": "#/components/schemas/Rollout"
        }
      }
    },
    "offVariation": {
      "type": "integer",
      "description": "The variation index to serve when the flag is off."
    }
  }
}

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/launchdarkly-flagenvironment"
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 email required.

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