> ## Documentation Index
> Fetch the complete documentation index at: https://launchdarkly.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Viewing flags across environments

<View title="Developer" />

<View title="Federal docs" />

<View title="EU docs" />

This topic explains how to view flags across multiple environments. Viewing a flag across multiple environments allows you to compare the targeting, variations served, default values when on, and default off variations of your feature flag.

## View flags across multiple environments

Viewing a flag across multiple environments allows you to compare the targeting and recent evaluations of your feature flag at a glance.

To view a flag across multiple environments:

1. In the left sidebar, click **Code**. The CodeControl menu appears.
2. Click **Flags**.
3. Click the **+** next to your current environment to display the list of environments, and select the environment you want:

<Frame caption="The environment selection menu.">
  <img src="https://mintcdn.com/launchdarkly/-b7nPh0oyigf6iW7/images/auto/environment-selection.auto.png?fit=max&auto=format&n=-b7nPh0oyigf6iW7&q=85&s=029e508024dee8be22f4f41658637a75" alt="The environment selection menu." width="592" height="322" data-path="images/auto/environment-selection.auto.png" />
</Frame>

LaunchDarkly adds the selected environment to your **Flags** list. You can compare recent activity and whether the flag is toggled on or off. For each environment, you can also hover for additional details on the variations served:

<Frame caption="Flag evaluation information available on hover, for the Production environment.">
  <img src="https://mintcdn.com/launchdarkly/Y_qcqLWSC5ccm6eB/images/__LD_UI_no_test/flags-list-evaluation-hover.png?fit=max&auto=format&n=Y_qcqLWSC5ccm6eB&q=85&s=1f17651018f1e5dff9ab670604e48a60" alt="Flag evaluation information available on hover, for the Production environment." width="648" height="424" data-path="images/__LD_UI_no_test/flags-list-evaluation-hover.png" />
</Frame>

<Card icon="https://mintcdn.com/launchdarkly/YIC2H8XW-fomhquw/assets/icons/openapi-logo.svg?fit=max&auto=format&n=YIC2H8XW-fomhquw&q=85&s=dd9578a9668a86e1a8b8c314921f204c" horizontal width="2500" height="2452" data-path="assets/icons/openapi-logo.svg">
  You can also use the REST API: [Get flag status across environments](/docs/api/feature-flags/get-flag-status-across-environments)
</Card>
