launchdarkly Code References API

View code references that show where feature flags are used in your codebase.

Operations 14

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v2/code-refs/extinctions List extinctions #
GET /api/v2/code-refs/repositories List repositories #
POST /api/v2/code-refs/repositories Create repository #
GET /api/v2/code-refs/repositories/{repo} Get repository #
PATCH /api/v2/code-refs/repositories/{repo} Update repository #
DELETE /api/v2/code-refs/repositories/{repo} Delete repository #
POST /api/v2/code-refs/repositories/{repo}/branch-delete-tasks Delete branches #
GET /api/v2/code-refs/repositories/{repo}/branches List branches #
GET /api/v2/code-refs/repositories/{repo}/branches/{branch} Get branch #
PUT /api/v2/code-refs/repositories/{repo}/branches/{branch} Upsert branch #
POST /api/v2/code-refs/repositories/{repo}/branches/{branch}/extinction-events Create extinction #
GET /api/v2/code-refs/statistics Get links to code reference repositories for each project #
GET /api/v2/code-refs/statistics/{projectKey} Get code references statistics for flags #
GET /code-refs/repositories List repositories scanned for code references · List code reference repositories #
Ask an LLM
“Which repositories are connected for flag code reference scanning?”
“How can I see what repos LaunchDarkly scans for flag usage?”
Tell an agent
List code reference repositories.
Show all repos connected for code refs scanning.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/launchdarkly:launchdarkly-code-references-api"
All apis
curl "https://apis.io/api/v1/apis?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. See our Privacy Policy and Terms.

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

OpenAPI Specification

launchdarkly-code-references-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Launchdarkly Code references API
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: '1.0'
  description: 'Operations tagged Code references across 2 of this provider''s published API definitions: launchdarkly-openapi.json, launchdarkly-rest-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://app.launchdarkly.com
  description: ' Default'
- url: https://app.launchdarkly.us
  description: ' Federal'
- url: https://app.launchdarkly.com/api/v2
  description: LaunchDarkly Production API
tags:


# --- truncated at 32 KB (48 KB total) ---
# Full source: https://artifacts.apis.io/launchdarkly/openapi/launchdarkly-code-references-api-openapi.yml