LaunchDarkly · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for LaunchDarkly REST Metrics API

3 actions 3 updates phrasing extends openapi/launchdarkly-metrics-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 3

$.info
$.paths['/metrics/{projectKey}'].get
$.paths['/metrics/{projectKey}'].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 Metrics API
  version: 1.0.0
extends: openapi/launchdarkly-metrics-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 2
- target: $.paths['/metrics/{projectKey}'].get
  update:
    x-apievangelist-phrasing:
      intent: List a project's metrics
      effect: read
      questions:
      - What metrics are defined in this project?
      - How can I see which metrics are available for experiments?
      instructions:
      - text: List metrics in project {projectKey}.
        slots:
          projectKey: path.projectKey
      - text: Show every metric defined in {projectKey}.
        slots:
          projectKey: path.projectKey
      method: generated
      generated: '2026-09-26'
- target: $.paths['/metrics/{projectKey}'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a metric for experiments
      effect: write
      questions:
      - How do I create a click metric to measure an experiment?
      - Can I track page views on specific URLs as a metric?
      - What kind of metric do I have to choose when creating one?
      instructions:
      - text: Create metric {name} with key {key} of kind {kind} in {projectKey}.
        slots:
          name: requestBody.name
          key: requestBody.key
          kind: requestBody.kind
          projectKey: path.projectKey
      - text: Add a {kind} metric {key} named {name} in {projectKey} on selector {selector}.
        slots:
          kind: requestBody.kind
          key: requestBody.key
          name: requestBody.name
          projectKey: path.projectKey
          selector: requestBody.selector
      method: generated
      generated: '2026-09-26'