Get details about an experiment.
LaunchDarkly supports four fields for expanding the “Get experiment” response. By default, these fields are not included in the response.
To expand the response, append the expand
query parameter and add a comma-separated list with any of the following fields:
previousIterations
includes all iterations prior to the current iteration. By default only the current iteration is included in the response.draftIteration
includes the iteration which has not been started yet, if any.secondaryMetrics
includes secondary metrics. By default only the primary metric is included in the response.treatments
includes all treatment and parameter details. By default treatment data is not included in the response.For example, expand=draftIteration,treatments
includes the draftIteration
and treatments
fields in the response. If fields that you request with the expand
query parameter are empty, they are not included in the response.
The project key
The environment key
The experiment key
A comma-separated list of properties that can reveal additional information in the response. Supported fields are explained above.
Experiment response
The experiment key
The experiment name
The ID of the member who maintains this experiment.
Timestamp of when the experiment was created
The location and content type of related resources
The experiment ID
The experiment description
Timestamp of when the experiment was archived
The holdout ID
Details on the current iteration
Details on the current iteration. This iteration may be already started, or may still be a draft.
Details on the previous iterations for this experiment.