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 Releases (beta) API

> ### This feature is in beta>> To use this feature, pass in a header including the `LD-API-Version` key with value set to `beta`. Use this header with each call. To learn more, read [Beta resources](https://launchdarkly.com/docs/api#beta-resources).>> Resources that are in beta are still undergoing testing and development. They may change without notice, including becoming backwards incompatible.Release pipelines standardize and automate the release process for feature flags across a series of phases, where each phase consists of one or more environments and audiences. When you add a flag to an existing release pipeline, you create a "release" to automate that flag's progress through the pipeline. Use the releases API to add a flag to an existing release pipeline, or to monitor or update an ongoing release for a flag. Updating an ongoing release generally involves the following steps:1. Obtain the release phases associated with the release. The `phases` field provides an ordered list of all pipeline phases associated with the flag's release. `phases` is returned in the response when you [Create a new release for a flag](https://launchdarkly.com/docs/api/releases-beta/create-release-for-flag) or [Get the release for a flag](https://launchdarkly.com/docs/api/releases-beta/get-release-by-flag-key).2. Determine the `_id` of the phase you want to start. Release pipeline phases take place in their configured order, so find the first incomplete, unstarted phase in the `phases` list. For example, in a newly-created release the first phase in the `phases` list has both the `complete` and `started` fields set to `false`.3. Use the phase `_id` value with the [Update phase status for release](https://launchdarkly.com/docs/api/releases-beta/update-phase-status) endpoint to start the release phase. At a minimum, you must provide `{"status": active}` in the request object to start a pipeline phase. If the phase requires approvals or guarded rollouts, provide the additional required information in the `audiences` list.### Configuring release pipelinesUse the related [release pipelines API](https://launchdarkly.com/docs/api/release-pipelines-beta) to view, create, update, and delete release pipelines, or to view the progress of all ongoing releases across all flags in a project for a given release pipeline.

LaunchDarkly Releases (beta) API is one of 68 APIs that LaunchDarkly publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Releases (beta). The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 5 operations across 3 paths, and defines 26 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against 2 base URLs: https://app.launchdarkly.com, https://app.launchdarkly.us.

5 operations 3 paths 26 schemas 1 DELETE1 GET1 PATCH2 PUT

Metadata

The identity and technical contract details declared by the specification.

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

Authentication & Security 1

LaunchDarkly Releases (beta) API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (ApiKey). By default, every request must be authenticated.

Paths & Operations 5

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

Releases (beta) 5

This feature is in beta To use this feature, pass in a header including the LD-API-Version key with value set to beta. Use this header with each call. To learn more, read Beta res…

GET
/api/v2/flags/{projectKey}/{flagKey}/release
Get release for flag
getReleaseByFlagKey 2 params → 200404
PATCH
/api/v2/flags/{projectKey}/{flagKey}/release
Patch release for flag
patchReleaseByFlagKey 2 params body → 200400401403404429
DELETE
/api/v2/flags/{projectKey}/{flagKey}/release
Delete a release for flag
deleteReleaseByFlagKey 2 params → 204403404
PUT
/api/v2/projects/{projectKey}/flags/{flagKey}/release
Create a new release for flag
createReleaseForFlag 2 params body → 200400401404429
PUT
/api/v2/projects/{projectKey}/flags/{flagKey}/release/phases/{phaseId}
Update phase status for release
updatePhaseStatus 3 params body → 200400401404429

Schemas 26

The contract defines 26 schemas that model the data the API accepts and returns. The most detailed are PipelineReleasePhase (11 properties), Release (8 properties), ReleaseAudience (8 properties), MemberSummary (6 properties). Each schema is shown below with its type and property counts.

JSONPatch
array
PhaseConfiguration
object
PhaseStatus
string
AudienceStatus
string
InvalidRequestErrorRep
object
2 properties 2 required
Release
object
8 properties 5 required
MemberSummary
object
6 properties 4 required
RateLimitedErrorRep
object
2 properties 2 required
UnauthorizedErrorRep
object
2 properties 2 required
ForbiddenErrorRep
object
2 properties 2 required
AudienceConfiguration
object
5 properties 2 required
Link
object
2 properties
ReleaseAudience
object
8 properties 2 required
UnixMillis
integer
PatchOperation
object
3 properties 2 required
ReleaseStrategy
string
ReleaseGuardianConfiguration
object
4 properties 3 required
NotFoundErrorRep
object
2 properties 2 required
ReleaserAudienceConfigInput
object
4 properties
TokenSummary
object
5 properties
PipelineReleasePhase
object
11 properties 5 required
UpdatePhaseStatusInput
object
2 properties
CreateReleaseInput
object
2 properties 1 required
ReleaseGuardianConfigurationInput
object
4 properties
EnvironmentSummary
object
4 properties 4 required
CompletedBy
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

launchdarkly-releases-beta-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 Code References API
launchdarkly Custom Roles API
launchdarkly Environments API
launchdarkly Experiments API
launchdarkly Feature Flags API
Where this information came from

This is an independent, third-party profile of LaunchDarkly Releases (beta) 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.