Skip to main content
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.

Attributes

The “Attributes” section displays all of the context attributes associated with the selected version of the context. LaunchDarkly records a separate version of a context for each source application or LaunchDarkly SDK that evaluates it. Each version includes only the context attributes you provide in the evaluation call. To learn more, read Context instance versions. This illustration shows a flag evaluating two versions of the same context:
Two versions of the same context.

Two versions of the same context.

To view attributes from a different version of the context, choose a different source from the “From source” menu:
The "From source" menu with two versions of the context displayed.

The "From source" menu with two versions of the context displayed.

To learn more, read Context attributes.

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. The “Related contexts” section lists the contexts that have appeared together with this context in a multi-context, and when LaunchDarkly last saw each one. Click a related context to open its details page. If the context has never appeared in a multi-context, the section displays “This context has no related contexts.”

Expected variations

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

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.

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.

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

  1. (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.
  1. Click Save changes.