How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

launchdarkly Code References API

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

launchdarkly Code References API is one of 68 APIs that LaunchDarkly publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Code References. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 14 operations across 10 paths, and defines 33 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 3 base URLs: https://app.launchdarkly.com, https://app.launchdarkly.us, https://app.launchdarkly.com/api/v2.

14 operations 10 paths 33 schemas 1 DELETE8 GET1 PATCH3 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://app.launchdarkly.com/api/v2
Authentication
API Key, HTTP Bearer
License
Resource Areas
1

Authentication & Security 2

launchdarkly Code References API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (ApiKey). It accepts HTTP bearer tokens (bearerAuth).

  • bearerAuth — LaunchDarkly API access token. Create personal or service tokens in the LaunchDarkly dashboard under Account Settings.

Paths & Operations 14

Across 10 paths, the API surfaces 14 operations — 1 DELETE, 8 GET, 1 PATCH, 3 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Code references 14

Code references is an Enterprise feature Code references is available to customers on an Enterprise plan. To learn more, read about our pricing. To upgrade your plan, contact Sale…

GET
/api/v2/code-refs/extinctions
List extinctions
getExtinctions 6 params → 200401403429
GET
/api/v2/code-refs/repositories
List repositories
getRepositories 4 params → 200401403429
POST
/api/v2/code-refs/repositories
Create repository
postRepository body → 200400401403409429
GET
/api/v2/code-refs/repositories/{repo}
Get repository
getRepository 1 param → 200400401403404429
PATCH
/api/v2/code-refs/repositories/{repo}
Update repository
patchRepository 1 param body → 200400401403404429
DELETE
/api/v2/code-refs/repositories/{repo}
Delete repository
deleteRepository 1 param → 204400401403404429
POST
/api/v2/code-refs/repositories/{repo}/branch-delete-tasks
Delete branches
deleteBranches 1 param body → 200400401403404429
GET
/api/v2/code-refs/repositories/{repo}/branches
List branches
getBranches 1 param → 200400401403404429
GET
/api/v2/code-refs/repositories/{repo}/branches/{branch}
Get branch
getBranch 4 params → 200400401403404429
PUT
/api/v2/code-refs/repositories/{repo}/branches/{branch}
Upsert branch
putBranch 2 params body → 200400401403404409429
POST
/api/v2/code-refs/repositories/{repo}/branches/{branch}/extinction-events
Create extinction
postExtinction 2 params body → 200400401403404429
GET
/api/v2/code-refs/statistics
Get links to code reference repositories for each project
getRootStatistic → 200401403404429
GET
/api/v2/code-refs/statistics/{projectKey}
Get code references statistics for flags
getStatistics 2 params → 200401403404429
GET
/code-refs/repositories
List code reference repositories
listCodeReferenceRepositories → 200401

Schemas 33

The contract defines 33 schemas that model the data the API accepts and returns. The most detailed are RepositoryRep (11 properties), StatisticRep (10 properties), putBranch (6 properties), repositoryPost (6 properties). Each schema is shown below with its type and property counts.

Extinction
object
5 properties 5 required
JSONPatch
array
AccessDenied
object
2 properties 2 required
StatisticsRoot
object
2 properties
InvalidRequestErrorRep
object
2 properties 2 required
ExtinctionCollectionRep
object
2 properties 2 required
ReferenceRep
object
3 properties 2 required
RateLimitedErrorRep
object
2 properties 2 required
AccessDeniedReason
object
6 properties 1 required
UnauthorizedErrorRep
object
2 properties 2 required
ForbiddenErrorRep
object
2 properties 2 required
RepositoryCollectionRep
object
2 properties 2 required
ActionSpecifier
string
Link
object
2 properties
ActionIdentifier
string
StatisticRep
object
10 properties 9 required
BranchCollectionRep
object
2 properties 2 required
UnixMillis
integer
PatchOperation
object
3 properties 2 required
repositoryPost
object
6 properties 1 required
putBranch
object
6 properties 3 required
Access
object
2 properties 2 required
StatisticCollectionRep
object
2 properties 2 required
NotFoundErrorRep
object
2 properties 2 required
ExtinctionListPost
array
StatusConflictErrorRep
object
2 properties 2 required
AccessAllowedReason
object
6 properties 1 required
HunkRep
object
5 properties 1 required
BranchRep
object
6 properties 4 required
RepositoryRep
object
11 properties 6 required
AccessAllowedRep
object
2 properties 2 required
Links
object
HATEOAS links for navigating related resources.
1 property
CodeReferenceRepositories
object
A collection of code reference repositories.
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

launchdarkly-code-references-api-openapi.yml Raw ↑

Other APIs LaunchDarkly publishes across the network.

LaunchDarkly Webhooks API
launchdarkly Access Tokens API
launchdarkly Account Members API
launchdarkly Approvals API
launchdarkly Audit Log API
launchdarkly Client-Side Evaluation API
launchdarkly Client-Side Streaming API
launchdarkly Custom Roles API
launchdarkly Environments API
launchdarkly Experiments API
launchdarkly Feature Flags API
launchdarkly Flag Triggers API
Where this information came from

This is an independent, third-party profile of launchdarkly Code References API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.