Split · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Split Feature Flag Feature Flag Definitions API

8 actions 8 updates phrasing extends openapi/split-feature-flag-definitions-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Split's API. It is a proposal applied on top of the contract, not a document Split publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/splits/ws/{workspaceId}/{featureFlagName}/environments/{environmentId}'].get
$.paths['/splits/ws/{workspaceId}/{featureFlagName}/environments/{environmentId}'].post
$.paths['/splits/ws/{workspaceId}/{featureFlagName}/environments/{environmentId}'].delete
$.paths['/splits/ws/{workspaceId}/{featureFlagName}/environments/{environmentId}'].patch
$.paths['/splits/ws/{workspaceId}/environments/{environmentId}'].get
$.paths['/splits/ws/{workspaceId}/{featureFlagName}/environments/{environmentId}/kill'].put
$.paths['/splits/ws/{workspaceId}/{featureFlagName}/environments/{environmentId}/restore'].put

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Split Feature Flag Feature Flag Definitions API
  version: 1.0.0
extends: openapi/split-feature-flag-definitions-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-17'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/splits/ws/{workspaceId}/{featureFlagName}/environments/{environmentId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a feature flag's definition in an environment
      effect: read
      questions:
      - What treatments and targeting rules does a feature flag have in production?
      - Is a feature flag currently killed in a given environment?
      instructions:
      - text: Get the definition of feature flag {flag} in environment {env} of workspace {workspace}.
        slots:
          flag: path.featureFlagName
          env: path.environmentId
          workspace: path.workspaceId
      - text: Show the treatments and kill status of {flag} in {env} for {workspace}.
        slots:
          flag: path.featureFlagName
          env: path.environmentId
          workspace: path.workspaceId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/splits/ws/{workspaceId}/{featureFlagName}/environments/{environmentId}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a feature flag definition in an environment
      effect: write
      questions:
      - How do I activate a feature flag in production with a baseline treatment?
      - Can I set a percentage rollout when first creating a flag definition?
      instructions:
      - text: Create a definition for feature flag {flag} in environment {env} of workspace {workspace} with treatments {treatments} and default {default}.
        slots:
          flag: path.featureFlagName
          env: path.environmentId
          workspace: path.workspaceId
          treatments: requestBody.treatments
          default: requestBody.defaultTreatment
      - text: Activate {flag} in {env} for {workspace} with baseline {baseline} and default {default}.
        slots:
          flag: path.featureFlagName
          env: path.environmentId
          workspace: path.workspaceId
          baseline: requestBody.baselineTreatment
          default: requestBody.defaultTreatment
      method: generated
      generated: '2026-11-17'
- target: $.paths['/splits/ws/{workspaceId}/{featureFlagName}/environments/{environmentId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a feature flag definition from an environment
      effect: destructive
      questions:
      - How do I deactivate a feature flag in one environment?
      - Can I remove a flag definition without deleting the flag itself?
      instructions:
      - text: Delete the definition of feature flag {flag} in environment {env} of workspace {workspace}.
        slots:
          flag: path.featureFlagName
          env: path.environmentId
          workspace: path.workspaceId
      - text: Deactivate {flag} in {env} for {workspace}.
        slots:
          flag: path.featureFlagName
          env: path.environmentId
          workspace: path.workspaceId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/splits/ws/{workspaceId}/{featureFlagName}/environments/{environmentId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a feature flag definition in an environment
      effect: write
      questions:
      - Can I change the default treatment of a flag in production?
      - How do I adjust the percentage rollout of an existing flag definition?
      instructions:
      - text: Update the default treatment of feature flag {flag} in environment {env} of workspace {workspace} to {default}.
        slots:
          flag: path.featureFlagName
          env: path.environmentId
          workspace: path.workspaceId
          default: requestBody.defaultTreatment
      - text: Change the percentage rollout of {flag} in {env} for {workspace} to {allocation}.
        slots:
          flag: path.featureFlagName
          env: path.environmentId
          workspace: path.workspaceId
          allocation: requestBody.trafficAllocation
      method: generated
      generated: '2026-11-17'
- target: $.paths['/splits/ws/{workspaceId}/environments/{environmentId}'].get
  update:
    x-apievangelist-phrasing:
      intent: List feature flag definitions in an environment
      effect: read
      questions:
      - Which feature flags are defined in a given environment?
      - Can I page through all flag definitions in an environment?
      instructions:
      - text: List all feature flag definitions in environment {env} of workspace {workspace}.
        slots:
          env: path.environmentId
          workspace: path.workspaceId
      - text: Show the first {limit} flags defined in {env} for {workspace}.
        slots:
          limit: query.limit
          env: path.environmentId
          workspace: path.workspaceId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/splits/ws/{workspaceId}/{featureFlagName}/environments/{environmentId}/kill'].put
  update:
    x-apievangelist-phrasing:
      intent: Kill a feature flag in an environment
      effect: destructive
      questions:
      - How do I turn off a feature flag in production immediately?
      - Can I force a killed flag to return its default treatment?
      instructions:
      - text: Kill feature flag {flag} in environment {env} of workspace {workspace}.
        slots:
          flag: path.featureFlagName
          env: path.environmentId
          workspace: path.workspaceId
      - text: Force {flag} in {env} for {workspace} to return its default treatment.
        slots:
          flag: path.featureFlagName
          env: path.environmentId
          workspace: path.workspaceId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/splits/ws/{workspaceId}/{featureFlagName}/environments/{environmentId}/restore'].put
  update:
    x-apievangelist-phrasing:
      intent: Restore a killed feature flag in an environment
      effect: write
      questions:
      - How do I bring a killed feature flag back to life?
      - Can I undo the kill on a flag in production?
      instructions:
      - text: Restore feature flag {flag} in environment {env} of workspace {workspace}.
        slots:
          flag: path.featureFlagName
          env: path.environmentId
          workspace: path.workspaceId
      - text: Bring {flag} back to normal evaluation in {env} for {workspace}.
        slots:
          flag: path.featureFlagName
          env: path.environmentId
          workspace: path.workspaceId
      method: generated
      generated: '2026-11-17'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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 overlay
curl "https://apis.io/api/v1/overlays/split-feature-flag-definitions-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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