v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Feature flags

Get expiring context targets for feature flag

Get a list of context targets on a feature flag that are scheduled for removal.

get/api/v2/flags/{projectKey}/{featureFlagKey}/expiring-targets/{environmentKey}

Path parameters

projectKeystring string required

The project key

The project key

environmentKeystring string required

The environment key

The environment key

featureFlagKeystring string required

The feature flag key

The feature flag key

Response

Expiring target response

_linksobject

The location and content type of related resources

Example response

{
  "items": [
    {
      "_id": "12ab3c45de678910abc12345",
      "_version": 1,
      "contextKind": "user",
      "contextKey": "context-key-123abc",
      "targetType": "included",
      "variationId": "cc4332e2-bd4d-4fe0-b509-dfd2caf8dd73",
      "_resourceId": {
        "environmentKey": "environment-key-123abc",
        "key": "segment-key-123abc",
        "projectKey": "project-key-123abc"
      }
    }
  ]
}