For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Get currently active release for a flag
curl --request GET \
--url https://app.launchdarkly.com/api/v2/flags/{projectKey}/{flagKey}/release \
--header 'Authorization: <api-key>'{
"name": "Example release pipeline",
"releasePipelineKey": "example-release-pipeline",
"releasePipelineDescription": "Our release pipeline for typical testing and deployment",
"phases": [
{
"_id": "1234a56b7c89d012345e678f",
"_name": "Phase 1 - Testing",
"complete": true,
"_creationDate": "1684262711507",
"_audiences": [
{
"_id": "1234a56b7c89d012345e678g",
"name": "Phase 1 - Testing",
"_links": {},
"environment": {
"_links": {
"self": {
"href": "/api/v2/projects/my-project/environments/my-environment",
"type": "application/json"
}
},
"key": "environment-key-123abc",
"name": "My Environment",
"color": "F5A623"
},
"configuration": {
"releaseStrategy": "monitoredRelease",
"requireApproval": true,
"notifyMemberIds": [
"1234a56b7c89d012345e678f"
],
"notifyTeamKeys": [
"example-reviewer-team"
],
"releaseGuardianConfiguration": {
"monitoringWindowMilliseconds": 60000,
"rolloutWeight": 50,
"rollbackOnRegression": true,
"randomizationUnit": "user"
}
},
"segmentKeys": [
"segment-key-123abc"
],
"status": "active",
"_ruleIds": [
"<string>"
]
}
],
"_completionDate": "1684262711509",
"_completedBy": {
"member": {
"_links": {
"self": {
"href": "/api/v2/members/569f183514f4432160000007",
"type": "application/json"
}
},
"_id": "569f183514f4432160000007",
"role": "admin",
"email": "ariel@acme.com",
"firstName": "Ariel",
"lastName": "Flores"
},
"token": {
"_links": {},
"_id": "<string>",
"name": "DevOps token",
"ending": "2345",
"serviceToken": false
}
},
"status": "Started",
"started": true,
"_startedDate": 123,
"configuration": {}
}
],
"_version": 1,
"_links": {},
"_releaseVariationId": "<string>",
"_canceledAt": "1684262711507"
}Documentation Index
Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The project key
The flag key
Release response
The release pipeline name
"Example release pipeline"
The release pipeline key
"example-release-pipeline"
The release pipeline description
"Our release pipeline for typical testing and deployment"
An ordered list of the release pipeline phases
Show child attributes
The release version
1
The location and content type of related resources
Show child attributes
The chosen release variation ID to use across all phases of a release
Timestamp of when the release was canceled
"1684262711507"
curl --request GET \
--url https://app.launchdarkly.com/api/v2/flags/{projectKey}/{flagKey}/release \
--header 'Authorization: <api-key>'{
"name": "Example release pipeline",
"releasePipelineKey": "example-release-pipeline",
"releasePipelineDescription": "Our release pipeline for typical testing and deployment",
"phases": [
{
"_id": "1234a56b7c89d012345e678f",
"_name": "Phase 1 - Testing",
"complete": true,
"_creationDate": "1684262711507",
"_audiences": [
{
"_id": "1234a56b7c89d012345e678g",
"name": "Phase 1 - Testing",
"_links": {},
"environment": {
"_links": {
"self": {
"href": "/api/v2/projects/my-project/environments/my-environment",
"type": "application/json"
}
},
"key": "environment-key-123abc",
"name": "My Environment",
"color": "F5A623"
},
"configuration": {
"releaseStrategy": "monitoredRelease",
"requireApproval": true,
"notifyMemberIds": [
"1234a56b7c89d012345e678f"
],
"notifyTeamKeys": [
"example-reviewer-team"
],
"releaseGuardianConfiguration": {
"monitoringWindowMilliseconds": 60000,
"rolloutWeight": 50,
"rollbackOnRegression": true,
"randomizationUnit": "user"
}
},
"segmentKeys": [
"segment-key-123abc"
],
"status": "active",
"_ruleIds": [
"<string>"
]
}
],
"_completionDate": "1684262711509",
"_completedBy": {
"member": {
"_links": {
"self": {
"href": "/api/v2/members/569f183514f4432160000007",
"type": "application/json"
}
},
"_id": "569f183514f4432160000007",
"role": "admin",
"email": "ariel@acme.com",
"firstName": "Ariel",
"lastName": "Flores"
},
"token": {
"_links": {},
"_id": "<string>",
"name": "DevOps token",
"ending": "2345",
"serviceToken": false
}
},
"status": "Started",
"started": true,
"_startedDate": 123,
"configuration": {}
}
],
"_version": 1,
"_links": {},
"_releaseVariationId": "<string>",
"_canceledAt": "1684262711507"
}