LaunchDarkly · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for LaunchDarkly REST Contexts API

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

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/api/v2/projects/{projectKey}/context-kinds'].get
$.paths['/api/v2/projects/{projectKey}/context-kinds/{key}'].put
$.paths['/api/v2/projects/{projectKey}/environments/{environmentKey}/context-attributes'].get
$.paths['/api/v2/projects/{projectKey}/environments/{environmentKey}/context-attributes/{attributeName}'].get
$.paths['/api/v2/projects/{projectKey}/environments/{environmentKey}/contexts/search'].post
$.paths['/api/v2/projects/{projectKey}/environments/{environmentKey}/contexts/{kind}/{key}'].get
$.paths['/api/v2/projects/{projectKey}/environments/{environmentKey}/flags/evaluate'].post

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 LaunchDarkly REST Contexts API
  version: 1.0.0
extends: openapi/launchdarkly-contexts-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-23'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/api/v2/projects/{projectKey}/context-kinds'].get
  update:
    x-apievangelist-phrasing:
      intent: List context kinds in a project
      effect: read
      questions:
      - What context kinds are defined in my LaunchDarkly project?
      - Can I see which context kinds are archived?
      instructions:
      - text: List context kinds in project {projectKey}.
        slots:
          projectKey: path.projectKey
      - text: Show context kinds in {projectKey} with {expand} expanded.
        slots:
          projectKey: path.projectKey
          expand: query.expand
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v2/projects/{projectKey}/context-kinds/{key}'].put
  update:
    x-apievangelist-phrasing:
      intent: Create or update a context kind
      effect: write
      questions:
      - How do I add a new kind of context, like a customer or account?
      - Can I archive a context kind so it's not used in targeting?
      instructions:
      - text: Create context kind {key} named {name} in {projectKey}.
        slots:
          key: path.key
          name: requestBody.name
          projectKey: path.projectKey
      - text: Set context kind {key} in {projectKey} to archived {archived} with name {name}.
        slots:
          key: path.key
          projectKey: path.projectKey
          archived: requestBody.archived
          name: requestBody.name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v2/projects/{projectKey}/environments/{environmentKey}/context-attributes'].get
  update:
    x-apievangelist-phrasing:
      intent: List context attribute names in an environment
      effect: read
      questions:
      - Which context attributes are available in an environment?
      - Can I filter the context attribute names by kind?
      instructions:
      - text: List context attribute names in {projectKey}/{environmentKey}.
        slots:
          projectKey: path.projectKey
          environmentKey: path.environmentKey
      - text: Show context attribute names in {projectKey}/{environmentKey} matching {filter}.
        slots:
          projectKey: path.projectKey
          environmentKey: path.environmentKey
          filter: query.filter
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v2/projects/{projectKey}/environments/{environmentKey}/context-attributes/{attributeName}'].get
  update:
    x-apievangelist-phrasing:
      intent: List values of a context attribute
      effect: read
      questions:
      - What values have been reported for a context attribute?
      - Can I see only the values of a context attribute for one context kind?
      instructions:
      - text: List values of context attribute {attributeName} in {projectKey}/{environmentKey}.
        slots:
          attributeName: path.attributeName
          projectKey: path.projectKey
          environmentKey: path.environmentKey
      - text: Show values of {attributeName} in {projectKey}/{environmentKey} for context kind {filter}.
        slots:
          attributeName: path.attributeName
          projectKey: path.projectKey
          environmentKey: path.environmentKey
          filter: query.filter
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v2/projects/{projectKey}/environments/{environmentKey}/contexts/search'].post
  update:
    x-apievangelist-phrasing:
      intent: Search contexts across an environment
      effect: read
      questions:
      - How do I find contexts that match a filter, like a user email?
      - Can I search contexts across all applications in an environment?
      instructions:
      - text: Search contexts in {projectKey}/{environmentKey} matching {filter}.
        slots:
          projectKey: path.projectKey
          environmentKey: path.environmentKey
          filter: query.filter
      - text: Find up to {limit} contexts in {projectKey}/{environmentKey} matching {filter}.
        slots:
          limit: query.limit
          projectKey: path.projectKey
          environmentKey: path.environmentKey
          filter: query.filter
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v2/projects/{projectKey}/environments/{environmentKey}/contexts/{kind}/{key}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get contexts by kind and key
      effect: read
      questions:
      - Which applications have a context of a given kind and key?
      - Can I filter contexts to one application?
      instructions:
      - text: Get {kind} contexts with key {key} in project {projectKey}, env {environmentKey}.
        slots:
          kind: path.kind
          key: path.key
          projectKey: path.projectKey
          environmentKey: path.environmentKey
      - text: Show {kind} contexts with key {key} filtered by {filter}.
        slots:
          kind: path.kind
          key: path.key
          filter: query.filter
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v2/projects/{projectKey}/environments/{environmentKey}/flags/evaluate'].post
  update:
    x-apievangelist-phrasing:
      intent: Evaluate flags for a context instance
      effect: read
      questions:
      - How do I see which flag variations a context would get without using an SDK?
      - Can I evaluate flags for a single user context instance?
      instructions:
      - text: Evaluate flags for a context instance in {projectKey}/{environmentKey}.
        slots:
          projectKey: path.projectKey
          environmentKey: path.environmentKey
      - text: Evaluate the first {limit} flags for a context in {projectKey}/{environmentKey}.
        slots:
          limit: query.limit
          projectKey: path.projectKey
          environmentKey: path.environmentKey
      method: generated
      generated: '2026-11-23'

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/launchdarkly-contexts-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.