Experiments

Update metric collection

Update metric collection.

patch/api/v2/experiments/metric-collections/{metric_collection_id}

Request

Path parameters

metric_collection_idstring uuid required

The UUID of the metric collection.

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

Request body

Example request

{
  "data": {
    "attributes": {
      "metrics": []
    },
    "type": "metric-collections"
  }
}

Response

OK

Example response

{
  "data": {
    "attributes": {
      "created_at": "2026-08-01T12:00:00Z",
      "description": "Metrics reviewed for every checkout experiment.",
      "is_guardrail": false,
      "metrics": [
        {
          "metric_id": "550e8400-e29b-41d4-a716-446655440020",
          "metric_name": "Checkout conversion"
        }
      ],
      "name": "Checkout metrics",
      "updated_at": "2026-08-02T09:30:00Z"
    },
    "id": "550e8400-e29b-41d4-a716-446655440040",
    "type": "metric-collections"
  }
}

Changes

Changes to this operation have not been checked yet.