For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Get a list of a segment’s context targets that are scheduled for removal.
curl --request GET \
--url https://app.launchdarkly.com/api/v2/segments/{projectKey}/{segmentKey}/expiring-targets/{environmentKey} \
--header 'Authorization: <api-key>'{
"items": [
{
"_id": "12ab3c45de678910abc12345",
"_version": 1,
"expirationDate": "1672358400000",
"contextKind": "user",
"contextKey": "context-key-123abc",
"_resourceId": {
"environmentKey": "environment-key-123abc",
"flagKey": "<string>",
"key": "segment-key-123abc",
"kind": "segment",
"projectKey": "project-key-123abc"
},
"targetType": "included",
"variationId": "cc4332e2-bd4d-4fe0-b509-dfd2caf8dd73"
}
],
"_links": {}
}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 environment key
The segment key
curl --request GET \
--url https://app.launchdarkly.com/api/v2/segments/{projectKey}/{segmentKey}/expiring-targets/{environmentKey} \
--header 'Authorization: <api-key>'{
"items": [
{
"_id": "12ab3c45de678910abc12345",
"_version": 1,
"expirationDate": "1672358400000",
"contextKind": "user",
"contextKey": "context-key-123abc",
"_resourceId": {
"environmentKey": "environment-key-123abc",
"flagKey": "<string>",
"key": "segment-key-123abc",
"kind": "segment",
"projectKey": "project-key-123abc"
},
"targetType": "included",
"variationId": "cc4332e2-bd4d-4fe0-b509-dfd2caf8dd73"
}
],
"_links": {}
}