Get experiment results (Deprecated)

Deprecated
GET
/api/v2/projects/:projectKey/environments/:environmentKey/experiments/:experimentKey/metrics/:metricKey/results

Get results from an experiment for a particular metric.

LaunchDarkly supports one field for expanding the “Get experiment results” response. By default, this field is not included in the response.

To expand the response, append the expand query parameter with the following field:

  • traffic includes the total count of units for each treatment.

For example, expand=traffic includes the traffic field for the project in the response.

Path parameters

projectKeystringRequired

The project key

environmentKeystringRequired

The environment key

experimentKeystringRequired

The experiment key

metricKeystringRequired

The metric key

Query parameters

iterationIdstringOptional

The iteration ID

expandstringOptional

A comma-separated list of fields to expand in the response. Supported fields are explained above.

Response

Experiment results response

metricSeenobjectOptional
probabilityOfMismatchdoubleOptional

The probability of a Sample Ratio Mismatch

resultslist of objectsOptional

A list of attribute values and their corresponding treatment results

treatmentResultslist of objectsOptionalDeprecated

Deprecated, use results instead. Only populated when response does not contain results sliced by multiple attributes.

Errors

Built with