Experiments

Create experiment metric group

Create a non-decision metric group. The optional metrics array is ordered. Decision groups remain managed through decision_metrics on the experiment resource. This operation does not synchronously recompute results.

post/api/v2/experiments/{experiment_id}/metric-groups

Request

Path parameters

experiment_idstring uuid required

The UUID of the experiment.

Example:550e8400-e29b-41d4-a716-446655440000

Request body

Example request

{
  "data": {
    "attributes": {
      "metrics": [
        {
          "metric_id": "550e8400-e29b-41d4-a716-446655440021"
        }
      ],
      "name": "Diagnostics"
    },
    "type": "experiment-metric-groups"
  }
}

Response

Created

Example response

{
  "data": {
    "attributes": {
      "metrics": [
        {
          "metric_id": "550e8400-e29b-41d4-a716-446655440000",
          "metric_name": "metric name"
        }
      ]
    },
    "id": "550e8400-e29b-41d4-a716-446655440022",
    "type": "experiment-metric-groups"
  },
  "meta": {
    "warnings": [
      {
        "code": "code",
        "detail": "detail"
      }
    ]
  }
}

Changes

Changes to this operation have not been checked yet.