---
title: "List dependent feature flags"
method: GET
path: "/api/v2/flags/{projectKey}/{featureFlagKey}/dependent-flags"
tags: ["Feature flags (beta)"]
---

# List dependent feature flags

`GET /api/v2/flags/{projectKey}/{featureFlagKey}/dependent-flags`

> ### Flag prerequisites is an Enterprise feature
>
> Flag prerequisites is available to customers on an Enterprise plan. To learn more, [read about our pricing](https://launchdarkly.com/pricing/). To upgrade your plan, [contact Sales](https://launchdarkly.com/contact-sales/).

List dependent flags across all environments for the flag specified in the path parameters. A dependent flag is a flag that uses another flag as a prerequisite. To learn more, read [Flag prerequisites](https://launchdarkly.com/docs/home/flags/prereqs).

## Path parameters

- `projectKey` string, string, required — The project key
- `featureFlagKey` string, string, required — The feature flag key

## Response `200`

Multi environment dependent flags collection response

- MultiEnvironmentDependentFlags
  - `items` MultiEnvironmentDependentFlag[], required — An array of dependent flags with their environment information
    - `name` string — The flag name
    - `key` string, required — The flag key
    - `environments` DependentFlagEnvironment[], required — A list of environments in which the dependent flag appears
      - `name` string — The environment name
      - `key` string, required — The environment key
      - `_links` object, required — The location and content type of related resources
      - `_site` Link, required
        - `href` string
        - `type` string
  - `_links` object, required — The location and content type of related resources
  - `_site` Link, required
    - `href` string
    - `type` string

## Other responses

- `401` — Invalid access token
- `403` — Forbidden
- `404` — Invalid resource identifier
- `429` — Rate limited

---

[API](https://skmtc.net/launchdarkly/apis/launchdarkly-rest-api.md) · [All operations](https://skmtc.net/launchdarkly/apis/launchdarkly-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/launchdarkly/launchdarkly-rest-api/versions/69c5c9aafe78/schema)
