LaunchDarkly · Schema

FeatureFlagBody

The request body for creating a new feature flag.

Feature FlagsFeature ManagementExperimentationObservabilityContinuous DeliveryDevOpsAI AgentsRelease ManagementDeveloper ToolsT1

Properties

Name Type Description
name string The human-readable name of the feature flag.
key string The unique key identifying this feature flag.
description string A description of the feature flag purpose.
tags array Tags to apply to the feature flag.
variations array The variations this flag can serve.
temporary boolean Whether this flag is intended to be temporary.
clientSideAvailability object Client-side SDK availability settings.
defaults object Default variation settings for new environments.
View JSON Schema on GitHub

JSON Schema

launchdarkly-featureflagbody-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FeatureFlagBody",
  "title": "FeatureFlagBody",
  "type": "object",
  "description": "The request body for creating a new feature flag.",
  "required": [
    "name",
    "key"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "The human-readable name of the feature flag."
    },
    "key": {
      "type": "string",
      "description": "The unique key identifying this feature flag.",
      "pattern": "^[a-z0-9]([a-z0-9._-])*$"
    },
    "description": {
      "type": "string",
      "description": "A description of the feature flag purpose."
    },
    "tags": {
      "type": "array",
      "description": "Tags to apply to the feature flag.",
      "items": {
        "type": "string"
      }
    },
    "variations": {
      "type": "array",
      "description": "The variations this flag can serve.",
      "items": {
        "$ref": "#/components/schemas/Variation"
      }
    },
    "temporary": {
      "type": "boolean",
      "description": "Whether this flag is intended to be temporary."
    },
    "clientSideAvailability": {
      "type": "object",
      "description": "Client-side SDK availability settings.",
      "properties": {
        "usingEnvironmentId": {
          "type": "boolean",
          "description": "Whether this flag is available to client-side SDKs using the environment ID."
        },
        "usingMobileKey": {
          "type": "boolean",
          "description": "Whether this flag is available to mobile SDKs."
        }
      }
    },
    "defaults": {
      "type": "object",
      "description": "Default variation settings for new environments.",
      "properties": {
        "onVariation": {
          "type": "integer",
          "description": "The index of the variation to serve when the flag is on."
        },
        "offVariation": {
          "type": "integer",
          "description": "The index of the variation 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-featureflagbody"
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.