Experiments

Create metric collection

Create metric collection.

post/api/v2/experiments/metric-collections

Request

Request body

Example request

{
  "data": {
    "attributes": {
      "name": "Activation"
    },
    "type": "metric-collections"
  }
}

Response

Created

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.