> ## 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.

# The context details page

**Developer**

**Federal docs**

**EU docs**

This topic explains what the context details page is. The context details page gives you a detailed view of a context and lets you customize its experience from one screen.

To open the details page for a context, click on the context name from the **Contexts** list.

This is an example of a [multi-context](https://launchdarkly.com/docs/home/flags/multi-contexts.md) details page:

![The details page for a multi-context.](https://mintcdn.com/launchdarkly/YIC2H8XW-fomhquw/images/__LD_UI_no_test/context-details-multi-context.png?fit=max\&auto=format\&n=YIC2H8XW-fomhquw\&q=85\&s=8ccf2795aa5e6e30eb340fa829627603)

The details page for a multi-context.

## Attributes

The "Attributes" section displays all of the context attributes associated with the selected context instance version. A context instance version is a context instance that's recorded from a unique source application or LaunchDarkly SDK. It includes only the context attributes you provide in the evaluation call. To learn more, read [Context instances](https://launchdarkly.com/docs/home/flags/context-instances.md).

This illustration shows a flag evaluating two instance versions of the same context:

![Two instance versions of the same context.](https://mintcdn.com/launchdarkly/7dOLLfhGme_BglBp/images/__not_from_LD_app_UI/context-instance-versions.png?fit=max\&auto=format\&n=7dOLLfhGme_BglBp\&q=85\&s=88e115ab96b1cf791a7854007efa540e)

Two instance versions of the same context.

To view attributes from a different context instance version, choose a different version from the "From source" menu:

![The "From source" menu with two context instance versions displayed.](https://mintcdn.com/launchdarkly/YIC2H8XW-fomhquw/images/__LD_UI_no_test/context-details-instance-menu.png?fit=max\&auto=format\&n=YIC2H8XW-fomhquw\&q=85\&s=09800d022cdbf1c6f04ef7d1aa08b3bb)

The "From source" menu with two context instance versions displayed.

To learn more, read [Context attributes](https://launchdarkly.com/docs/home/flags/context-attributes).

> [card]
>
> You can also use the REST API: [Get context attribute names](https://launchdarkly.com/docs/api/contexts/get-context-attribute-names.md), [Get context attribute values](https://launchdarkly.com/docs/api/contexts/get-context-attribute-values.md)

## Segments

The "Segments" section lists any segments the context is a part of. Click on the segment name to open the segment's details page. To learn more, read [Segments](https://launchdarkly.com/docs/home/flags/segments).

## Instances

The "Instances" section lists the instances in which the context has appeared, and when LaunchDarkly last encountered each instance:

![The "Instances" section with two instances.](https://mintcdn.com/launchdarkly/-b7nPh0oyigf6iW7/images/auto/context-details-instances.auto.png?fit=max\&auto=format\&n=-b7nPh0oyigf6iW7\&q=85\&s=ec49fcb1dac508733b017053b40469f5)

The "Instances" section with two instances.

If a context has an instance count higher than one, that means it is part of a multi-context.

Click on an individual instance name to open the instance details page. The instance details page lists the context kinds, attributes, segments, and expected flag variations for that particular context instance. To learn more, read [Context instances](https://launchdarkly.com/docs/home/flags/context-instances.md).

> [card]
>
> You can also use the REST API: [Get contexts](https://launchdarkly.com/docs/api/contexts/get-contexts.md)

### Delete context instances

To delete a context instance:

1. In the left sidebar, click **Code**. The CodeControl menu appears.
2. Click **Contexts**.
3. From the **Contexts** list, click on the name of the context with an instance you want to delete. The context details page opens.
4. In the "Instances" section, click on an instance. The instance details page opens.
5. Click **Delete**:

![A context instance detail page with the "Delete" button called out.](https://mintcdn.com/launchdarkly/-b7nPh0oyigf6iW7/images/auto/context-details-instances-delete-callout.auto.png?fit=max\&auto=format\&n=-b7nPh0oyigf6iW7\&q=85\&s=f41ce949d14ee445419bcf86d526dfca)

A context instance detail page with the "Delete" button called out.

Deleting a context instance deletes all versions of that instance. Deleting context instances from the **Contexts** list does not decrease your [account usage](https://launchdarkly.com/docs/home/account/metrics.md).

## Expected variations

The "Expected variations" section lists the variation you can expect that context instance to receive for each flag or AgentControl config within your current project and environment.

![The "Expected variations" on the details page for a context.](https://mintcdn.com/launchdarkly/-b7nPh0oyigf6iW7/images/auto/context-details-expected-variations.auto.png?fit=max\&auto=format\&n=-b7nPh0oyigf6iW7\&q=85\&s=6066dad0888929cf23e9474fd8e3edf6)

The "Expected variations" on the details page for a context.

For each flag, you can use your SDK's flag evaluation reason feature to get more information about the flag variations LaunchDarkly serves.

> [card]
>
> Try it in your SDK: [Flag variation evaluation details](https://launchdarkly.com/docs/sdk/features/evaluation-reasons.md)

### Modify variations for a context

You can modify the variation a context receives for a feature flag or an AgentControl config. To do this:

1. Find the "Entity name" you want to modify in the "Expected variations" section.
2. Select a new variation from the **Variation** menu next to the flag:

![The "Expected flag variations" section with a variation called out.](https://mintcdn.com/launchdarkly/-b7nPh0oyigf6iW7/images/auto/context-details-targeting-callout.auto.png?fit=max\&auto=format\&n=-b7nPh0oyigf6iW7\&q=85\&s=715a5b8f4e10bc095a079d74ad59e35a)

The "Expected variations" section with a variation called out.

3. (Optional) To remove individual targeting, either:

* change to the variation from the **Variation** dropdown, or
* click the "Evaluation reason" link to remove the individual target from the flag's **Targeting** tab.

4. Click **Save changes**.

> [!NOTE]
>
> **Targeting changes are only available for individual contexts.**
>
> You cannot make targeting changes to context instances with multiple contexts. That option is not available on the instance details page with multiple contexts.
