LaunchDarkly · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for LaunchDarkly REST Approvals (beta) API

5 actions 5 updates phrasing extends openapi/launchdarkly-approvals-beta-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 5

$.info
$.paths['/api/v2/approval-requests/{id}'].patch
$.paths['/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}'].patch
$.paths['/api/v2/approval-requests/projects/{projectKey}/settings'].get
$.paths['/api/v2/approval-requests/projects/{projectKey}/settings'].patch

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 Approvals (beta) API
  version: 1.0.0
extends: openapi/launchdarkly-approvals-beta-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: 4
- target: $.paths['/api/v2/approval-requests/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update an approval request
      effect: write
      questions:
      - How do I add reviewers to an approval request?
      - Can I change the number of approvals required on an existing request?
      instructions:
      - text: Update approval request {id} with instructions {instructions}.
        slots:
          id: path.id
          instructions: requestBody.instructions
      - text: Comment {comment} on approval request {id}.
        slots:
          comment: requestBody.comment
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v2/projects/{projectKey}/flags/{featureFlagKey}/environments/{environmentKey}/approval-requests/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a flag's approval request
      effect: write
      questions:
      - How do I change the reviewers on a flag approval request?
      - Can I set approval requirements for one flag in an environment?
      instructions:
      - text: Update the approval request {id} for flag {featureFlagKey} in {environmentKey}, project {projectKey}.
        slots:
          id: path.id
          featureFlagKey: path.featureFlagKey
          environmentKey: path.environmentKey
          projectKey: path.projectKey
      - text: Change the reviewers on flag approval request {id} in {environmentKey} of {projectKey} for {featureFlagKey}.
        slots:
          id: path.id
          environmentKey: path.environmentKey
          projectKey: path.projectKey
          featureFlagKey: path.featureFlagKey
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v2/approval-requests/projects/{projectKey}/settings'].get
  update:
    x-apievangelist-phrasing:
      intent: Get approval request settings
      effect: read
      questions:
      - What approval settings are configured for a project?
      - Can I see approval settings for one environment?
      instructions:
      - text: Get approval request settings for project {projectKey}.
        slots:
          projectKey: path.projectKey
      - text: Show approval settings for {projectKey} in environment {environmentKey}.
        slots:
          projectKey: path.projectKey
          environmentKey: query.environmentKey
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v2/approval-requests/projects/{projectKey}/settings'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update approval settings for an environment
      effect: write
      questions:
      - How do I require at least two approvals before a flag change goes live in LaunchDarkly?
      - Can I let people apply their own approval requests in an environment?
      - Can I limit approvals to flags with certain tags?
      instructions:
      - text: Require {min_num_approvals} approvals in environment {environment_key} of project {projectKey} for resource kind {resource_kind}.
        slots:
          min_num_approvals: requestBody.minNumApprovals
          environment_key: requestBody.environmentKey
          projectKey: path.projectKey
          resource_kind: requestBody.resourceKind
      - text: Only require approval for flags tagged {tags} in environment {environment_key} of project {projectKey}, resource kind {resource_kind}.
        slots:
          tags: requestBody.requiredApprovalTags
          environment_key: requestBody.environmentKey
          projectKey: path.projectKey
          resource_kind: requestBody.resourceKind
      - text: Use API version {api_version} to switch approval service to {service_kind} in {environment_key} of project {projectKey}, resource kind {resource_kind}.
        slots:
          api_version: header.LD-API-Version
          service_kind: requestBody.serviceKind
          environment_key: requestBody.environmentKey
          projectKey: path.projectKey
          resource_kind: requestBody.resourceKind
      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-approvals-beta-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.