Experiments

Retrieve Running Experiments

Retrieve all running experiments from your Storyblok space.

get/v2/cdn/experiments

Request

Query parameters

cvinteger
Example:1541863983

Cached version Unix timestamp. Learn more in the Caching concept.

tokenstring required
Example:ask9soUkv02QqbZgmZdeDAtt

A preview or public access token configured in a space.

Response

Running experiments returned

cvinteger nullable

Cached version Unix timestamp. Learn more in the Caching concept.

Example response

{
  "experiments": [
    {
      "id": 123,
      "name": "homepage_hero_test",
      "display_name": "Homepage Hero Test",
      "story_ids": [
        101,
        202
      ],
      "variants": [
        {
          "name": "control",
          "display_name": "Control",
          "public_id": "var_abc123def456",
          "weight": 50,
          "is_control": true,
          "story_mappings": [
            {
              "original_story_id": 123,
              "original_slug": "home",
              "variant_story_id": 456,
              "variant_slug": "home-variant-a"
            }
          ]
        }
      ],
      "stories": [
        {
          "id": 101,
          "full_slug": "campaigns/summer/home"
        }
      ]
    }
  ],
  "cv": 1709500000
}

Changes

No recorded changes to this operation across all 1 revision of this API.