Get metric group

Get information for a single metric group from the specific project.

Expanding the metric group response

LaunchDarkly supports two fields for expanding the “Get metric group” 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 either or both of the following fields:

  • experiments includes all experiments from the specific project that use the metric group
  • experimentCount includes the number of experiments from the specific project that use the metric group

For example, expand=experiments includes the experiments field in the response.

Path parameters

projectKeystringRequired
The project key
metricGroupKeystringRequired
The metric group key

Headers

AuthorizationstringRequired

Query parameters

expandstringOptional

A comma-separated list of properties that can reveal additional information in the response.

Response

Metric group response
_idstring
The ID of this metric group
keystring
A unique key to reference the metric group
namestring

A human-friendly name for the metric group

kindenum
The type of the metric group
Allowed values:
tagslist of strings
Tags for the metric group
_creationDatelong
Timestamp of when the metric group was created
_lastModifiedlong
Timestamp of when the metric group was last modified
maintainerobject
The maintainer of this metric
metricslist of objects
An ordered list of the metrics in this metric group
_versioninteger
The version of this metric group
descriptionstringOptional
Description of the metric group
_accessobjectOptional
Details on the allowed and denied actions for this metric group
experimentslist of objectsOptional

Experiments that use this metric group. Only included if specified in the expand query parameter in a getMetricGroup request.

experimentCountintegerOptional
The number of experiments using this metric group

Errors