# Source: https://docs.intelligems.io/developer-resources/external-api/get-experience-data.md

# GET: Experience Data

## GET /v25-10-beta/experiences/{experienceId}

> \*\*Rate Limit:\*\* 10 requests per 60s window, refilling 10 tokens every 60s.

```json
{"openapi":"3.1.0","info":{"title":"Intelligems External API v25-10-beta","version":"v25-10-beta"},"security":[{"intelligems_access_token":[]}],"components":{"securitySchemes":{"intelligems_access_token":{"type":"apiKey","in":"header","name":"intelligems-access-token","description":"Intelligems external API access token."}}},"paths":{"/v25-10-beta/experiences/{experienceId}":{"get":{"tags":["GET: Experience Data"],"description":"**Rate Limit:** 10 requests per 60s window, refilling 10 tokens every 60s.","parameters":[{"in":"path","name":"experienceId","schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"required":true}],"responses":{"200":{"description":"OK","headers":{"access-control-allow-origin":{"schema":{"type":"string"},"description":"CORS allow-origin header."},"access-control-allow-credentials":{"schema":{"type":"string"},"description":"CORS allow-credentials header."},"content-type":{"schema":{"type":"string"},"description":"Response content type."},"Timing-Allow-Origin":{"schema":{"type":"string"},"description":"Allowed origin for Timing headers."},"X-RateLimit-Limit":{"schema":{"type":"string"},"description":"Maximum requests allowed in the current window."},"X-RateLimit-Remaining":{"schema":{"type":"string"},"description":"Remaining requests in the current window."},"X-RateLimit-Reset":{"schema":{"type":"string"},"description":"Unix timestamp (ms) when the rate limit resets."}},"content":{"application/json":{"schema":{"type":"object","properties":{"experience":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the experience"},"name":{"type":"string","description":"Name of the A/B test experience"},"isPreview":{"default":true,"description":"Whether the experience is in preview mode. ALWAYS set to true","type":"boolean"},"description":{"description":"Detailed description of what this experience tests","anyOf":[{"type":"string"},{"type":"null"}]},"devicePreview":{"description":"Device and path configuration for previewing the experience","anyOf":[{"type":"object","properties":{"device":{"default":"desktop","description":"Device type for preview: 'desktop', 'mobile', or 'tablet'","type":"string","enum":["any","mobile","desktop"]},"path":{"default":"/","description":"URL path to use for preview (e.g., '/products/example')","type":"string"}},"required":["device","path"],"additionalProperties":false,"description":"Device and path configuration for previewing the experience"},{"type":"null"}]},"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Organization that owns this experience"},"type":{"type":"string","enum":["content/advanced","content/onsiteEdits","content/url","content/theme","content/template","pricing","shipping","personalization","personalization/offer","sitewide","checkoutBlock"],"description":"Type of experience: 'content/advanced' for content tests, 'pricing' for price tests, 'shipping' for shipping tests"},"category":{"type":"string","enum":["experiment","personalization"],"description":"Experience type: 'experiment' for experiments, 'personalization' for personalizations"},"status":{"type":"string","enum":["pending","started","ended","paused"],"description":"Experience status: 'pending' (not started), 'started' (active), 'paused', 'ended'"},"testTypes":{"type":"object","properties":{"hasTestPricing":{"type":"boolean","description":"Whether pricing variations are enabled"},"hasTestShipping":{"type":"boolean","description":"Whether shipping variations are enabled"},"hasTestCampaign":{"type":"boolean","description":"Whether campaign/offer variations are enabled"},"hasTestContent":{"type":"boolean","description":"Whether any content variations are enabled"},"hasTestContentUrl":{"type":"boolean","description":"Whether URL redirect variations are enabled"},"hasTestContentAdvanced":{"type":"boolean","description":"Whether advanced content variations are enabled"},"hasTestContentOnsite":{"type":"boolean","description":"Whether onsite edit variations are enabled"},"hasTestContentTemplate":{"type":"boolean","description":"Whether template variations are enabled"},"hasTestContentTheme":{"type":"boolean","description":"Whether theme variations are enabled"},"hasTestOnsiteInjections":{"type":"boolean","description":"Whether CSS/JS injection variations are enabled"},"hasTestCheckoutBlocks":{"type":"boolean","description":"Whether checkout block variations are enabled"}},"required":["hasTestPricing","hasTestShipping","hasTestCampaign","hasTestContent","hasTestContentUrl","hasTestContentAdvanced","hasTestContentOnsite","hasTestContentTemplate","hasTestContentTheme","hasTestOnsiteInjections","hasTestCheckoutBlocks"],"additionalProperties":false,"description":"Which variation types are enabled: content, pricing, shipping"},"experiencePageTargeting":{"default":[],"description":"Page-level targeting rules for where the experience should run","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"anyOf":[{"type":"string","enum":["equals","contains","startsWith","endsWith","doesNotEqual","doesNotContain","doesNotStartWith","doesNotEndWith","isNull","isNotNull","regex"]},{"type":"null"}]},"filterType":{"default":"url","type":"string","enum":["utm","url","device","visitor","jsExpression","trafficSource","country","referrer","cookie"]},"value":{"type":"string"},"order":{"type":"number"},"expression":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"query":{"type":"object","properties":{"key":{"type":"string","description":"Parameter name to match (e.g., 'utm_source', 'device_type')"},"value":{"type":"string","description":"Value to match against"},"filter":{"description":"Match type: 'simple', 'contains', 'regex', etc.","anyOf":[{"type":"string","enum":["equals","contains","startsWith","endsWith","doesNotEqual","doesNotContain","doesNotStartWith","doesNotEndWith","isNull","isNotNull","regex"]},{"type":"null"}]},"type":{"default":"utm","description":"Type of parameter being matched","type":"string","enum":["utm","url","urlPath","device","visitor","jsExpression","trafficSource","country","referrer","cookie","klaviyo","landingPage"]}},"required":["key","value","type"],"additionalProperties":false},"operator":{"type":"string","enum":["and","or","start_paren","end_paren"]}},"additionalProperties":false}},{"type":"null"}]},"experienceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id","filterType","value","order"],"additionalProperties":false}},"experienceProductTargeting":{"default":[],"description":"Product-level targeting rules for where the experience should run","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"experienceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"target":{"type":"string","enum":["productPage","productCard"],"description":"Where to evaluate: productPage or productCard"},"expression":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"query":{"type":"object","properties":{"key":{"type":"string","enum":["productId","collection","tag","price","inventory"],"description":"Product attribute to match against"},"value":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Value to compare (string for text matching, number for numeric comparisons)"},"filter":{"type":"string","enum":["includes","doesNotInclude","greaterThan","lessThan"],"description":"Comparison operator"},"type":{"type":"string","enum":["productId","collection","tag","price","inventory"],"description":"Product attribute type (same as key)"}},"required":["key","value","filter","type"],"additionalProperties":false},"operator":{"type":"string","enum":["and","or","start_paren","end_paren"]}},"additionalProperties":false}},{"type":"null"}]}},"required":["id","experienceId","target"],"additionalProperties":false}},"experienceActions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"experienceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"action":{"type":"string","enum":["start","pause","end","delete","reset"]},"actionTs":{"type":"number"}},"required":["id","experienceId","action","actionTs"],"additionalProperties":false},"description":"Actions and events tracked for this experience"},"experienceIntegrations":{"default":[],"description":"Third-party integrations connected to this experience","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"createdAtTs":{"type":"number"},"integration":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","enum":["Recharge","StayAi","GrowLTV","OneClickUpsell","Google","Amped","Clarity","Hotjar","Heatmap","CustomApi","Klaviyo","Slack","Amplitude","Heap","Segment","IntelligemsAPI","IntelligemsMcp"]},"description":{"type":"string"},"enabled":{"type":"boolean"},"globalSettings":{},"apis":{"default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"accessToken":{"type":"string"},"scopes":{"type":"array","items":{"type":"string","enum":["read_experiments","write_experiments","write_test_groups","read_integrations"]}},"organization":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false}},"required":["id","name","accessToken","scopes","organization"],"additionalProperties":false}},"lastUpdateTs":{"type":"number"}},"required":["id","name","description","enabled","globalSettings","apis"],"additionalProperties":false},"experienceSettings":{},"enabled":{"default":false,"type":"boolean"}},"required":["id","createdAtTs","integration","experienceSettings","enabled"],"additionalProperties":false}},"experienceCustomMetrics":{"default":[],"description":"Custom event metrics being tracked for this experience","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the custom metric"},"experienceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Experience this metric belongs to"},"order":{"type":"number","description":"Display order in analytics dashboard"},"customEventId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"ID of custom event defined in your analytics"},"customEvent":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventCountLastDay":{"anyOf":[{"type":"number"},{"type":"null"}]},"lastEventTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAtTs":{"type":"number"},"archivedAtTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"applyToUrls":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"matchBy":{"type":"string","enum":["equals","contains","startsWith","endsWith","doesNotEqual","doesNotContain","doesNotStartWith","doesNotEndWith","isNull","isNotNull","regex"]},"value":{"type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["matchBy","value"],"additionalProperties":false}},{"type":"null"}]},"experiencesList":{"anyOf":[{"default":[],"type":"array","items":{"type":"string"}},{"type":"null"}]},"type":{"type":"string","const":"pageView"},"settings":{"type":"object","properties":{},"additionalProperties":false}},"required":["id","identifier","name","createdAtTs","type","settings"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventCountLastDay":{"anyOf":[{"type":"number"},{"type":"null"}]},"lastEventTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAtTs":{"type":"number"},"archivedAtTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"applyToUrls":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"matchBy":{"type":"string","enum":["equals","contains","startsWith","endsWith","doesNotEqual","doesNotContain","doesNotStartWith","doesNotEndWith","isNull","isNotNull","regex"]},"value":{"type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["matchBy","value"],"additionalProperties":false}},{"type":"null"}]},"experiencesList":{"anyOf":[{"default":[],"type":"array","items":{"type":"string"}},{"type":"null"}]},"type":{"type":"string","const":"productPageView"},"settings":{"type":"array","items":{"type":"object","properties":{"productId":{"type":"string"},"handle":{"type":"string"}},"required":["productId","handle"],"additionalProperties":false}}},"required":["id","identifier","name","createdAtTs","type","settings"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventCountLastDay":{"anyOf":[{"type":"number"},{"type":"null"}]},"lastEventTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAtTs":{"type":"number"},"archivedAtTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"applyToUrls":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"matchBy":{"type":"string","enum":["equals","contains","startsWith","endsWith","doesNotEqual","doesNotContain","doesNotStartWith","doesNotEndWith","isNull","isNotNull","regex"]},"value":{"type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["matchBy","value"],"additionalProperties":false}},{"type":"null"}]},"experiencesList":{"anyOf":[{"default":[],"type":"array","items":{"type":"string"}},{"type":"null"}]},"type":{"type":"string","const":"collectionPageView"},"settings":{"type":"array","items":{"type":"object","properties":{"handle":{"type":"string"}},"required":["handle"],"additionalProperties":false}}},"required":["id","identifier","name","createdAtTs","type","settings"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventCountLastDay":{"anyOf":[{"type":"number"},{"type":"null"}]},"lastEventTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAtTs":{"type":"number"},"archivedAtTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"applyToUrls":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"matchBy":{"type":"string","enum":["equals","contains","startsWith","endsWith","doesNotEqual","doesNotContain","doesNotStartWith","doesNotEndWith","isNull","isNotNull","regex"]},"value":{"type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["matchBy","value"],"additionalProperties":false}},{"type":"null"}]},"experiencesList":{"anyOf":[{"default":[],"type":"array","items":{"type":"string"}},{"type":"null"}]},"type":{"type":"string","const":"clickEvent"},"settings":{"type":"object","properties":{"selectors":{"type":"array","items":{"type":"string"}}},"required":["selectors"],"additionalProperties":false}},"required":["id","identifier","name","createdAtTs","type","settings"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventCountLastDay":{"anyOf":[{"type":"number"},{"type":"null"}]},"lastEventTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAtTs":{"type":"number"},"archivedAtTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"applyToUrls":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"matchBy":{"type":"string","enum":["equals","contains","startsWith","endsWith","doesNotEqual","doesNotContain","doesNotStartWith","doesNotEndWith","isNull","isNotNull","regex"]},"value":{"type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["matchBy","value"],"additionalProperties":false}},{"type":"null"}]},"experiencesList":{"anyOf":[{"default":[],"type":"array","items":{"type":"string"}},{"type":"null"}]},"type":{"type":"string","const":"elementViewed"},"settings":{"type":"object","properties":{"selectors":{"type":"array","items":{"type":"string"}}},"required":["selectors"],"additionalProperties":false}},"required":["id","identifier","name","createdAtTs","type","settings"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventCountLastDay":{"anyOf":[{"type":"number"},{"type":"null"}]},"lastEventTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAtTs":{"type":"number"},"archivedAtTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"applyToUrls":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"matchBy":{"type":"string","enum":["equals","contains","startsWith","endsWith","doesNotEqual","doesNotContain","doesNotStartWith","doesNotEndWith","isNull","isNotNull","regex"]},"value":{"type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["matchBy","value"],"additionalProperties":false}},{"type":"null"}]},"experiencesList":{"anyOf":[{"default":[],"type":"array","items":{"type":"string"}},{"type":"null"}]},"type":{"type":"string","const":"scrollDepth"},"settings":{"type":"object","properties":{"mobile":{"type":"object","properties":{"percentage":{"type":"number"}},"required":["percentage"],"additionalProperties":false},"desktop":{"type":"object","properties":{"percentage":{"type":"number"}},"required":["percentage"],"additionalProperties":false}},"required":["mobile","desktop"],"additionalProperties":false}},"required":["id","identifier","name","createdAtTs","type","settings"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventCountLastDay":{"anyOf":[{"type":"number"},{"type":"null"}]},"lastEventTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAtTs":{"type":"number"},"archivedAtTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"applyToUrls":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"matchBy":{"type":"string","enum":["equals","contains","startsWith","endsWith","doesNotEqual","doesNotContain","doesNotStartWith","doesNotEndWith","isNull","isNotNull","regex"]},"value":{"type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["matchBy","value"],"additionalProperties":false}},{"type":"null"}]},"experiencesList":{"anyOf":[{"default":[],"type":"array","items":{"type":"string"}},{"type":"null"}]},"type":{"type":"string","const":"javascriptEvent"},"settings":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"],"additionalProperties":false}},"required":["id","identifier","name","createdAtTs","type","settings"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"identifier":{"type":"string"},"name":{"type":"string"},"description":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventCountLastDay":{"anyOf":[{"type":"number"},{"type":"null"}]},"lastEventTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAtTs":{"type":"number"},"archivedAtTs":{"anyOf":[{"type":"number"},{"type":"null"}]},"applyToUrls":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"matchBy":{"type":"string","enum":["equals","contains","startsWith","endsWith","doesNotEqual","doesNotContain","doesNotStartWith","doesNotEndWith","isNull","isNotNull","regex"]},"value":{"type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["matchBy","value"],"additionalProperties":false}},{"type":"null"}]},"experiencesList":{"anyOf":[{"default":[],"type":"array","items":{"type":"string"}},{"type":"null"}]},"type":{"type":"string","const":"javascriptImportedEvent"},"settings":{"type":"object","properties":{"registered":{"type":"boolean"}},"required":["registered"],"additionalProperties":false}},"required":["id","identifier","name","createdAtTs","type","settings"],"additionalProperties":false}],"description":"Custom event configuration and details","type":"object"}},"required":["id","experienceId","order","customEventId","customEvent"],"additionalProperties":false}},"experienceKeyMetrics":{"default":[],"description":"Key business metrics being tracked (revenue, conversion, AOV)","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the key metric"},"experienceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Experience this metric belongs to"},"order":{"type":"number","description":"Display order in analytics dashboard"},"isPrimary":{"default":false,"description":"Whether this is the primary success metric for the experience","type":"boolean"},"standardEventId":{"description":"Standard e-commerce event to track: 'revenue', 'conversion', 'aov', etc.","anyOf":[{"type":"string","enum":["conversionRate","addToCartRate","abandonedCartRate","abandonedCheckoutRate","checkoutBeginRate","checkoutEnterContactInfoRate","checkoutAddressSubmittedRate","viewProductPageRate","viewCollectionPageRate","netRevenuePerVisitor","netProductRevenuePerOrder","netRevenuePerOrder","avgUnitsPerOrder","avgProductRevenuePerUnit","profitPerVisitor","profitPerOrder","pctOrdersFreeShipping","netShippingRevenuePerOrder","subscriptionOrdersPerVisitor","subscriptionRevenuePerVisitor","subscriptionProfitPerVisitor","subscriptionProductRevenuePerOrder","avgDiscountPerDiscountedOrder","avgDiscountPerAllOrders","pctSubscriptionOrders","subscriptionRevenuePerOrder"]},{"type":"null"}]},"experienceCustomMetricId":{"description":"ID of custom metric if using custom event instead of standard","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["id","experienceId","order","isPrimary"],"additionalProperties":false}},"currency":{"description":"Currency code (e.g., 'USD') and display settings","anyOf":[{"type":"object","properties":{"code":{"default":"USD","description":"ISO 4217 currency code (e.g., 'USD', 'EUR', 'GBP')","type":"string"},"country":{"description":"Country code for currency formatting","type":"string"},"options":{"description":"Additional currency formatting options"},"symbol":{"default":"$","description":"Currency symbol to display (e.g., '$', '€', '£')","type":"string"},"suffix":{"description":"Currency suffix if needed (e.g., for display after amount)","type":"string"}},"required":["code","symbol"],"additionalProperties":false},{"type":"null"}]},"variations":{"default":[],"description":"Test variations configured for this experience","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the variation"},"experienceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Experience this variation belongs to"},"name":{"type":"string","description":"Variation name (e.g., 'Control', 'Variant A')"},"percentage":{"type":"number","description":"Traffic percentage (0-100) allocated to this variation"},"isControl":{"default":false,"description":"Whether this is the control/baseline variation","type":"boolean"},"order":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Display order in analytics dashboard"},"priceChange":{"description":"Amount to adjust prices by (positive = increase, negative = discount)","anyOf":[{"type":"string"},{"type":"null"}]},"priceChangeUnit":{"description":"Whether priceChange is 'percent' or 'dollar' amount","anyOf":[{"type":"string","enum":["percent","dollar"]},{"type":"null"}]},"priceRoundingType":{"description":"How to round final prices: 'none', 'nearest', 'up', 'down'","anyOf":[{"type":"string","enum":["none","nearest","up","down"]},{"type":"null"}]},"priceRoundingAmount":{"description":"Amount to round to (e.g., '0.99' for $X.99 pricing)","anyOf":[{"type":"string"},{"type":"null"}]},"onsiteEdits":{"default":[],"description":"Content edits to apply for this variation","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the onsite edit"},"onsiteEditType":{"description":"Type of edit: 'html' (replace HTML), 'text' (replace text), 'image' (replace image), 'hide' (hide element)","anyOf":[{"type":"string","enum":["html","text","image","hide"]},{"type":"null"}]},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Variation this edit belongs to"},"find":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Text or HTML to find on the page (supports regex if isRegex=true)"},"title":{"description":"Display title for this edit","anyOf":[{"type":"string"},{"type":"null"}]},"isRegex":{"default":false,"description":"Whether 'find' field contains a regular expression","type":"boolean"},"replace":{"default":"","description":"New content to replace the found content with","type":"string"},"querySelectors":{"default":[""],"description":"CSS selectors to target specific elements (e.g., '.product-title', '#header')","type":"array","items":{"type":"string"}},"skip":{"default":false,"description":"Whether to skip applying this edit","type":"boolean"},"remove":{"default":false,"description":"Whether to completely remove the element instead of replacing","type":"boolean"},"groupId":{"description":"Group ID for organizing related edits","type":"string"},"isHtml":{"default":false,"type":"boolean"},"isImage":{"default":false,"type":"boolean"},"insertType":{"anyOf":[{"type":"string","enum":["beforebegin","afterbegin","beforeend","afterend"]},{"type":"null"}],"description":"Where to insert content: 'beforebegin', 'afterbegin', 'beforeend', 'afterend'"},"createdAtUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"URL where this edit was created"},"createdAtTs":{"description":"Timestamp when this edit was created","anyOf":[{"type":"number"},{"type":"null"}]},"imageSearchUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"URL to search for when replacing images (URL-based mode). If present, replacement finds all images with matching pathname. If null, uses querySelectors (selector-based mode)."}},"required":["id","variationId","find","isRegex","replace","querySelectors","skip","remove","isHtml","isImage","insertType"],"additionalProperties":false}},"onsiteInjections":{"description":"CSS/JS injections for this variation","anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the injection"},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Variation this injection belongs to"},"customCss":{"description":"Custom CSS styles to inject into the page","anyOf":[{"type":"string"},{"type":"null"}]},"customJs":{"description":"Custom JavaScript code to execute on the page","anyOf":[{"type":"string"},{"type":"null"}]},"jsInjectionMode":{"type":"object","properties":{"type":{"default":"immediately","description":"When to inject JS: 'immediately', 'onWindowLoad', 'timeout' (with delay)","type":"string","enum":["immediately","onWindowLoad","timeout"]},"timeout":{"description":"Delay in milliseconds when type is 'timeout'","anyOf":[{"type":"number"},{"type":"string"}]}},"required":["type"],"additionalProperties":false,"description":"Configuration for when to inject the JavaScript"}},"required":["id","variationId","jsInjectionMode"],"additionalProperties":false},{"type":"null"}]},"offer":{"description":"Discount offer configuration","anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the offer"},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Variation this offer belongs to"},"enabled":{"default":false,"description":"Whether the offer is active and applying to customers","type":"boolean"},"isTest":{"default":false,"description":"Whether the offer is in test mode","type":"boolean"},"isArchived":{"default":false,"description":"Whether the offer has been archived","type":"boolean"},"name":{"type":"string","description":"Internal name for the offer"},"unitType":{"default":"dollar","description":"Discount basis: 'unit' (per item) or 'dollar' (fixed amount)","type":"string","enum":["unit","dollar"]},"discountType":{"default":"dollar","description":"How discount is calculated: 'percentage' or 'dollar'","type":"string","enum":["percentage","dollar"]},"tiers":{"default":[],"description":"Volume discount tiers (e.g., buy 2 get 10% off, buy 3 get 15% off)","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"minimumUnits":{"default":1,"type":"number"},"maximumUnits":{"default":1,"type":"number"},"unitDiscount":{"default":1,"type":"number"},"discountTitle":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]},"giftWithPurchaseTitle":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]},"isFreeShipping":{"default":false,"type":"boolean"},"isGiftWithPurchase":{"default":false,"type":"boolean"},"giftWithPurchaseProductId":{"anyOf":[{"type":"string"},{"type":"null"}]},"giftWithPurchaseVariantId":{"anyOf":[{"type":"string"},{"type":"null"}]},"autoAddGiftWithPurchase":{"default":false,"type":"boolean"},"giftWithPurchaseHandle":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","minimumUnits","maximumUnits","unitDiscount","discountTitle","giftWithPurchaseTitle","isFreeShipping","isGiftWithPurchase","autoAddGiftWithPurchase"],"additionalProperties":false}},"maximumDollarDiscount":{"description":"Maximum dollar amount that can be discounted (cap on percentage discounts)","anyOf":[{"type":"number"},{"type":"null"}]},"discountApplicationType":{"type":"string","enum":["tieredDiscount","cartDiscount","freeGift","freeShipping",""],"description":"Type of discount: 'tieredDiscount', 'cartDiscount', 'freeGift', 'freeShipping'"},"discountApplicationMethod":{"type":"string","enum":["perItem","perOrder"],"description":"How to apply discount: 'perItem' or 'perOrder'"},"combinesWithIntelligems":{"type":"boolean","description":"Whether this offer stacks with other Intelligems discounts"},"combinesWithShopify":{"type":"boolean","description":"Whether this offer stacks with native Shopify discounts"},"shouldRejectCodes":{"type":"boolean","description":"Whether to reject discount codes when this offer is applied"},"shippingDiscount":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"discountType":{"type":"string","enum":["percentage","dollar"]},"unitDiscount":{"type":"number"},"rateFilter":{"anyOf":[{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"amount"},"amount":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"name"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"operator":{"type":"string","enum":["is","contains","isNot","doesNotContain","startsWith","doesNotStartWith"]},"name":{"type":"string"}},"required":["id","operator","name"],"additionalProperties":false}}},"required":["type","rules"],"additionalProperties":false}]},{"type":"null"}]},"countryFilter":{"anyOf":[{"type":"object","properties":{"allow":{"type":"array","items":{"type":"string"}},"exclude":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},{"type":"null"}]},"discountLabel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","discountType","unitDiscount","rateFilter","countryFilter","discountLabel"],"additionalProperties":false},{"type":"null"}],"description":"Shipping discount configuration if applicable"},"requireSameItem":{"default":false,"description":"whether only multiples of the same product count toward a discount threshold, or if different products can be combined","type":"boolean"}},"required":["id","variationId","enabled","isTest","isArchived","name","unitType","discountType","tiers","discountApplicationType","discountApplicationMethod","combinesWithIntelligems","combinesWithShopify","shouldRejectCodes","shippingDiscount","requireSameItem"],"additionalProperties":false},{"type":"null"}]},"offerId":{"description":"ID of associated offer","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"shippingRateGroups":{"description":"Shipping rate configurations","default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"groupType":{"type":"string","enum":["flatRate","flatRateWithThreshold","thresholdOnly","tieredByPriceOrWeight","custom"]},"position":{"type":"number"},"rates":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"amount":{"type":"number"},"rateCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"rateType":{"type":"string","enum":["amount","threshold","tier"]},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BIF","BMD","BND","BOB","BRL","BSD","BWP","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ETB","EUR","FJD","FKP","GBP","GEL","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","ISK","JMD","JPY","KES","KGS","KHR","KMF","KRW","KYD","KZT","LAK","LBP","LKR","LRD","LSL","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SEK","SGD","SHP","SLL","SRD","STD","SZL","THB","TJS","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"]},"condition":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"min":{"default":0,"anyOf":[{"anyOf":[{"type":"number"},{"type":"string"}]},{"type":"null"}]},"max":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string"}]},{"type":"null"}]},"conditionType":{"type":"string","enum":["currency","weight"]},"unit":{"anyOf":[{"type":"string","enum":["g","kg","lb","oz"]},{"type":"null"}]}},"required":["min","conditionType"],"additionalProperties":false},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["name","amount","rateType","currency"],"additionalProperties":false}},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id","groupType","position","rates","variationId"],"additionalProperties":false}},"excludeProducts":{"description":"Whether to exclude specific products from price changes","default":false,"type":"boolean"},"includeProducts":{"description":"Whether to include only specific products in price changes","default":false,"type":"boolean"},"testExperienceId":{"description":"ID of test experience for advanced configurations","anyOf":[{"type":"string"},{"type":"null"}]},"functionSyncError":{"default":false,"description":"Whether there's a sync error with external functions","type":"boolean"},"redirects":{"description":"URL redirects for this variation","default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the redirect"},"group":{"type":"number","description":"Redirect group number for organizing related redirects. Group by common origin URL"},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Variation this redirect belongs to"},"originUrl":{"type":"string","description":"URL pattern to match for redirect (supports wildcards)"},"destinationUrl":{"description":"URL to redirect users to","anyOf":[{"type":"string"},{"type":"null"}]},"queryParams":{"default":[],"description":"Query parameters to add to the destination URL","type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"Query parameter name"},"value":{"type":"string","description":"Query parameter value"}},"required":["key","value"],"additionalProperties":false}},"skip":{"type":"boolean","description":"Whether to skip this redirect"},"isThemeTest":{"type":"boolean","description":"Whether this is testing different themes"},"isTemplateTest":{"type":"boolean","description":"Whether this is testing different templates"},"templateType":{"description":"Type of Shopify template being tested","anyOf":[{"type":"string","enum":["404","","article","blog","cart","collection","index","list-collections","page","password","product","search"]},{"type":"null"}]},"templateSuffixes":{"default":[],"description":"Template suffix variations to test","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"redirectOnce":{"default":false,"description":"Whether to only redirect once per user session","type":"boolean"},"filter":{"default":"matchesExactly","description":"How to match URLs: 'matchesExactly', 'contains', 'endsWith', 'matchesRegex', 'none'","type":"string","enum":["matchesExactly","contains","endsWith","matchesRegex","none"]},"find":{"description":"Text to find in the URL for partial matching.  MUST be defined if using 'partialReplacement'","anyOf":[{"type":"string"},{"type":"null"}]},"redirectType":{"default":"fullReplacement","description":"Whether to do 'fullReplacement' or 'partialReplacement' of the URL","type":"string","enum":["fullReplacement","partialReplacement"]}},"required":["id","group","variationId","originUrl","queryParams","skip","isThemeTest","isTemplateTest","templateSuffixes","redirectOnce","filter","redirectType"],"additionalProperties":false}},"userInterfaces":{"description":"UI widgets to display for this variation","default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"isEnabled":{"type":"boolean"},"isArchived":{"default":false,"type":"boolean"},"widget":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"enabledSitewide":{"default":false,"type":"boolean"},"parentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"widgetType":{"type":"string","enum":["messageBoxPopup","messageBoxSlideOut","quantityButtons","discountProgressBar","shippingProgressBar"]},"config":{"type":"object","properties":{"desktop":{},"mobile":{}},"additionalProperties":false}},"required":["id","name","enabledSitewide","widgetType","config"],"additionalProperties":false},"widgetId":{"type":"string"},"category":{"type":"string","enum":["quantityButtons","progressBar","messageBox"]},"variationId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"desktopVariables":{"anyOf":[{},{"type":"null"}]},"mobileVariables":{"anyOf":[{},{"type":"null"}]},"styleOverrides":{"anyOf":[{},{"type":"null"}]}},"required":["id","isArchived","widgetId"],"additionalProperties":false}},"checkoutBlocks":{"description":"Checkout block configuration","default":[],"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the checkout block"},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Variation ID"},"locationId":{"type":"string","description":"Location identifier for the checkout block"},"blockType":{"type":"string","const":"trustBadge"},"name":{"type":"string","description":"Name of the checkout block"},"variables":{"type":"object","properties":{"headerText":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"order":{"type":"number"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":{"type":"string"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}]},"iconColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"iconSize":{"anyOf":[{"type":"string"},{"type":"null"}]},"imageSize":{"anyOf":[{"type":"number","minimum":1,"maximum":500},{"type":"null"}]},"imageAspectRatio":{"anyOf":[{"type":"string"},{"type":"null"}]},"image":{"anyOf":[{"type":"string"},{"type":"null"}]},"mediaSpacing":{"type":"string"}},"required":["order","type","imageSize","mediaSpacing"],"additionalProperties":false}}},"required":["headerText","items"],"additionalProperties":false,"description":"Element variables"},"styles":{"type":"object","properties":{"typography":{"type":"object","properties":{"header":{"type":"object","properties":{"fontSize":{"type":"string"},"fontStyle":{"type":"string"}},"required":["fontSize","fontStyle"],"additionalProperties":false},"itemTitle":{"type":"object","properties":{"fontSize":{"type":"string"},"fontStyle":{"type":"string"}},"required":["fontSize","fontStyle"],"additionalProperties":false},"itemSubtitle":{"type":"object","properties":{"fontSize":{"type":"string"},"fontStyle":{"type":"string"}},"required":["fontSize","fontStyle"],"additionalProperties":false}},"required":["header","itemTitle","itemSubtitle"],"additionalProperties":false},"backgroundColors":{"type":"object","properties":{"header":{"type":"string"},"item":{"type":"string"},"block":{"type":"string"}},"required":["header","item","block"],"additionalProperties":false},"colors":{"type":"object","properties":{"headerText":{"type":"string"},"itemTitleText":{"type":"string"},"itemSubtitleText":{"type":"string"}},"required":["headerText","itemTitleText","itemSubtitleText"],"additionalProperties":false},"layout":{"type":"object","properties":{"headerTextAlign":{"type":"string"},"bodyAlign":{"type":"string"},"itemTextAlign":{"type":"string"},"rowCount":{"type":"number"},"columnCount":{"type":"number"},"itemPositionAlign":{"type":"string"}},"required":["headerTextAlign","bodyAlign","itemTextAlign","rowCount","columnCount","itemPositionAlign"],"additionalProperties":false},"appearance":{"type":"object","properties":{"headerBorderThickness":{"type":"string"},"headerBorderStyle":{"default":"none","type":"string"},"headerCornerRadius":{"type":"string"},"headerPadding":{"type":"string"},"bodySpacing":{"type":"string"},"headingToBodySpacing":{"type":"string"},"blockBorderThickness":{"type":"string"},"blockBorderStyle":{"default":"none","type":"string"},"blockPadding":{"type":"string"},"blockCornerRadius":{"type":"string"},"itemBorderThickness":{"type":"string"},"itemBorderStyle":{"default":"none","type":"string"},"itemCornerRadius":{"type":"string"},"itemTextSpacing":{"type":"string"}},"required":["headerBorderThickness","headerBorderStyle","headerCornerRadius","headerPadding","bodySpacing","headingToBodySpacing","blockBorderThickness","blockBorderStyle","blockPadding","blockCornerRadius","itemBorderThickness","itemBorderStyle","itemCornerRadius","itemTextSpacing"],"additionalProperties":false}},"required":["typography","backgroundColors","colors","layout","appearance"],"additionalProperties":false,"description":"CSS styles"}},"required":["id","variationId","locationId","blockType","name","variables","styles"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the checkout block"},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Variation ID"},"locationId":{"type":"string","description":"Location identifier for the checkout block"},"blockType":{"type":"string","const":"upsell"},"name":{"type":"string","description":"Name of the checkout block"},"variables":{"type":"object","properties":{"headerText":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"order":{"type":"number"},"variantId":{"type":"string"}},"required":["order","variantId"],"additionalProperties":false}},"buttonText":{"type":"string"},"imageSize":{"type":"number","minimum":1,"maximum":500},"imageAspectRatio":{"type":"string"},"mediaSpacing":{"type":"string"}},"required":["headerText","items","buttonText","imageSize","imageAspectRatio","mediaSpacing"],"additionalProperties":false,"description":"Element variables"},"styles":{"type":"object","properties":{"typography":{"type":"object","properties":{"header":{"type":"object","properties":{"fontSize":{"type":"string"},"fontStyle":{"type":"string"}},"required":["fontSize","fontStyle"],"additionalProperties":false},"productTitle":{"type":"object","properties":{"fontSize":{"type":"string"},"fontStyle":{"type":"string"}},"required":["fontSize","fontStyle"],"additionalProperties":false},"price":{"type":"object","properties":{"fontSize":{"type":"string"},"fontStyle":{"type":"string"}},"required":["fontSize","fontStyle"],"additionalProperties":false},"button":{"type":"object","properties":{"fontSize":{"type":"string"},"fontStyle":{"type":"string"}},"required":["fontSize","fontStyle"],"additionalProperties":false}},"required":["header","productTitle","price","button"],"additionalProperties":false},"backgroundColors":{"type":"object","properties":{"header":{"type":"string"},"item":{"type":"string"},"block":{"type":"string"},"button":{"type":"string"},"productUnit":{"type":"string"}},"required":["header","item","block","button","productUnit"],"additionalProperties":false},"colors":{"type":"object","properties":{"headerText":{"type":"string"},"productText":{"type":"string"},"priceText":{"type":"string"}},"required":["headerText","productText","priceText"],"additionalProperties":false},"layout":{"type":"object","properties":{"headerTextAlign":{"type":"string"},"bodyAlign":{"type":"string"},"itemTextAlign":{"type":"string"},"rowCount":{"type":"number"},"columnCount":{"type":"number"},"itemPositionAlign":{"type":"string"}},"required":["headerTextAlign","bodyAlign","itemTextAlign","rowCount","columnCount","itemPositionAlign"],"additionalProperties":false},"appearance":{"type":"object","properties":{"headerBorderThickness":{"type":"string"},"headerBorderStyle":{"default":"none","type":"string"},"headerCornerRadius":{"type":"string"},"headerPadding":{"type":"string"},"bodySpacing":{"type":"string"},"headingToBodySpacing":{"type":"string"},"blockBorderThickness":{"type":"string"},"blockBorderStyle":{"default":"none","type":"string"},"blockPadding":{"type":"string"},"blockCornerRadius":{"type":"string"},"productBorderThickness":{"type":"string"},"productBorderStyle":{"default":"none","type":"string"},"productCornerRadius":{"type":"string"},"productTextSpacing":{"type":"string"}},"required":["headerBorderThickness","headerBorderStyle","headerCornerRadius","headerPadding","bodySpacing","headingToBodySpacing","blockBorderThickness","blockBorderStyle","blockPadding","blockCornerRadius","productBorderThickness","productBorderStyle","productCornerRadius","productTextSpacing"],"additionalProperties":false}},"required":["typography","backgroundColors","colors","layout","appearance"],"additionalProperties":false,"description":"CSS styles"}},"required":["id","variationId","locationId","blockType","name","variables","styles"],"additionalProperties":false}],"type":"object"}}},"required":["id","experienceId","name","percentage","isControl","order","onsiteEdits","functionSyncError"],"additionalProperties":false}},"createdAtTs":{"type":"number","description":"Timestamp when the experience was created"},"isDeleted":{"description":"Whether the experience has been soft-deleted","type":"boolean"},"shippingTestMethodDefinitions":{"default":[],"description":"Shipping rate test configurations","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"deliveryProfileId":{"type":"string"},"deliveryLocationGroupId":{"type":"string"},"deliveryZoneId":{"type":"string"},"methodDefinitionId":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["deliveryProfileId","deliveryLocationGroupId","deliveryZoneId"],"additionalProperties":false}},"audience":{"description":"Audience targeting rules for this experience","anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the audience"},"experienceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Experience this audience belongs to"},"enabled":{"type":"boolean","description":"Whether audience targeting is enabled"},"excludeCurrency":{"type":"object","properties":{"exclude":{"type":"boolean","description":"Whether to exclude users based on currency"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Currency code to exclude (e.g., 'USD')"},"country":{"description":"Country to exclude","type":"string"},"region":{"description":"Region/state to exclude","type":"string"},"city":{"description":"City to exclude","type":"string"}},"required":["exclude","currency"],"additionalProperties":false,"description":"Currency-based exclusion rules"},"wholesale":{"type":"boolean","description":"Whether to include/exclude wholesale customers"},"audienceType":{"description":"Type of audience: 'common', 'custom', or 'advanced'","type":"string","enum":["common","custom","advanced"]},"elseAction":{"anyOf":[{"type":"string","enum":["experienceInclude","experienceExclude","experienceUnassigned","assignVariation","randomVariation","leaveUnassigned"]},{"type":"null"}],"description":"Default action when no filters match"},"elseVariationId":{"description":"Default variation ID when elseAction is 'assignVariation'","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"elseExcludeFromAnalytics":{"default":false,"description":"Whether to exclude non-matching users from analytics","type":"boolean"},"filters":{"default":[],"description":"Array of audience filter rules evaluated in priority order","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the filter"},"priority":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Priority order when multiple audiences match (lower = higher priority)"},"action":{"anyOf":[{"type":"string","enum":["experienceInclude","experienceExclude","experienceUnassigned","assignVariation","randomVariation","leaveUnassigned"]},{"type":"null"}],"description":"What to do when audience matches: 'assignVariation', 'randomVariation', 'excludeFromExperience'"},"filterType":{"type":"string","enum":["utm","url","urlPath","device","visitor","jsExpression","trafficSource","country","referrer","cookie","klaviyo","landingPage"],"description":"Type of filter: 'utm' (campaign params), 'url' (page URL), 'device', 'location', etc."},"expression":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"query":{"type":"object","properties":{"key":{"type":"string","description":"Parameter name to match (e.g., 'utm_source', 'device_type')"},"value":{"type":"string","description":"Value to match against"},"filter":{"description":"Match type: 'simple', 'contains', 'regex', etc.","anyOf":[{"type":"string","enum":["equals","contains","startsWith","endsWith","doesNotEqual","doesNotContain","doesNotStartWith","doesNotEndWith","isNull","isNotNull","regex"]},{"type":"null"}]},"type":{"default":"utm","description":"Type of parameter being matched","type":"string","enum":["utm","url","urlPath","device","visitor","jsExpression","trafficSource","country","referrer","cookie","klaviyo","landingPage"]}},"required":["key","value","type"],"additionalProperties":false},"operator":{"type":"string","enum":["and","or","start_paren","end_paren"]}},"additionalProperties":false}},{"type":"null"}],"description":"Complex filter expression tree for advanced targeting"},"expressionType":{"description":"Whether using 'common' or 'custom' expression type","anyOf":[{"type":"string","enum":["common","custom"]},{"type":"null"}]},"variationId":{"description":"Specific variation to assign if action is 'assignVariation'","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"excludeFromAnalytics":{"default":false,"description":"Whether to exclude this audience from analytics tracking","type":"boolean"}},"required":["id","priority","action","filterType","excludeFromAnalytics"],"additionalProperties":false}},"evaluationFrequency":{"description":"How often to re-evaluate audience rules (in seconds)","anyOf":[{"type":"number"},{"type":"null"}]}},"required":["id","experienceId","enabled","excludeCurrency","wholesale","elseAction","elseExcludeFromAnalytics","filters"],"additionalProperties":false},{"type":"null"}]},"lastUpdateTs":{"type":"number","description":"Timestamp of the last update to this experience"},"previewPath":{"description":"URL path to preview the experience (e.g., '/products/example')","anyOf":[{"type":"string"},{"type":"null"}]},"isExternal":{"description":"Whether the experience is managed externally","anyOf":[{"default":false,"type":"boolean"},{"type":"null"}]},"startedAtTs":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Timestamp when the experience was started (null if not started)"},"pausedAtTs":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Timestamp when the experience was paused (null if not paused)"},"archivedAtTs":{"description":"Timestamp when the experience was archived (null if not archived)","anyOf":[{"type":"number"},{"type":"null"}]},"requiresLink":{"default":false,"description":"Whether the experience requires a special link to access","type":"boolean"},"linkBaseUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Base URL for generating experience links"},"endedAtTs":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Timestamp when the experience ended (null if still running)"},"productVariantCount":{"default":0,"description":"Number of product variants included in this experience","type":"number"},"sourceExperienceId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"ID of the source experience if this was duplicated or rolled out"},"sourceAction":{"anyOf":[{"type":"string","enum":["duplicate","rollout"]},{"type":"null"}],"description":"Action taken from source experience: 'duplicate' or 'rollout'"},"experienceAnalysis":{"type":"object","properties":{"analyticsViewType":{"type":"string","enum":["test_orders_only","sitewide_orders","none"],"description":"Type of analytics view to display"}},"required":["analyticsViewType"],"additionalProperties":false}},"required":["id","name","isPreview","organizationId","type","category","status","testTypes","experiencePageTargeting","experienceProductTargeting","experienceActions","experienceIntegrations","experienceCustomMetrics","experienceKeyMetrics","variations","createdAtTs","shippingTestMethodDefinitions","lastUpdateTs","startedAtTs","pausedAtTs","requiresLink","linkBaseUrl","endedAtTs","productVariantCount","experienceAnalysis"],"additionalProperties":false}},"required":["experience"],"additionalProperties":false}}}},"429":{"description":"Too Many Requests","headers":{"access-control-allow-origin":{"schema":{"type":"string"},"description":"CORS allow-origin header."},"access-control-allow-credentials":{"schema":{"type":"string"},"description":"CORS allow-credentials header."},"content-type":{"schema":{"type":"string"},"description":"Response content type."},"X-RateLimit-Limit":{"schema":{"type":"string"},"description":"Maximum requests allowed in the current window."},"X-RateLimit-Remaining":{"schema":{"type":"string"},"description":"Remaining requests in the current window."},"X-RateLimit-Reset":{"schema":{"type":"string"},"description":"Unix timestamp (ms) when the rate limit resets."},"Retry-After":{"schema":{"type":"string"},"description":"Seconds to wait before retrying after a rate limit hit."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"retryAfter":{"type":"number"}},"required":["error","message"]}}}}}}}}}
```

## GET /v25-10-beta/experiences-list

> \*\*Rate Limit:\*\* 10 requests per 60s window, refilling 10 tokens every 60s.

```json
{"openapi":"3.1.0","info":{"title":"Intelligems External API v25-10-beta","version":"v25-10-beta"},"security":[{"intelligems_access_token":[]}],"components":{"securitySchemes":{"intelligems_access_token":{"type":"apiKey","in":"header","name":"intelligems-access-token","description":"Intelligems external API access token."}}},"paths":{"/v25-10-beta/experiences-list":{"get":{"tags":["GET: Experience Data"],"description":"**Rate Limit:** 10 requests per 60s window, refilling 10 tokens every 60s.","parameters":[{"in":"query","name":"category","schema":{"description":"Filter by category","type":"string","enum":["experiment","personalization"]},"description":"Filter by category"},{"in":"query","name":"status","schema":{"description":"Filter by status.","type":"string","enum":["pending","started","ended","paused"]},"description":"Filter by status."},{"in":"query","name":"limit","schema":{"description":"Limit the number of results","anyOf":[{"type":"number"},{"type":"string"}]},"description":"Limit the number of results"},{"in":"query","name":"page","schema":{"description":"Page number for pagination","anyOf":[{"type":"number"},{"type":"string"}]},"description":"Page number for pagination"},{"in":"query","name":"random","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","headers":{"access-control-allow-origin":{"schema":{"type":"string"},"description":"CORS allow-origin header."},"access-control-allow-credentials":{"schema":{"type":"string"},"description":"CORS allow-credentials header."},"content-type":{"schema":{"type":"string"},"description":"Response content type."},"Timing-Allow-Origin":{"schema":{"type":"string"},"description":"Allowed origin for Timing headers."},"X-RateLimit-Limit":{"schema":{"type":"string"},"description":"Maximum requests allowed in the current window."},"X-RateLimit-Remaining":{"schema":{"type":"string"},"description":"Remaining requests in the current window."},"X-RateLimit-Reset":{"schema":{"type":"string"},"description":"Unix timestamp (ms) when the rate limit resets."}},"content":{"application/json":{"schema":{"type":"object","properties":{"experiencesList":{"type":"array","items":{"type":"object","properties":{"archivedAtTs":{"description":"Timestamp when the experience was archived (null if not archived)","anyOf":[{"type":"number"},{"type":"null"}]},"audience":{"description":"Audience targeting rules for this experience","anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the audience"},"experienceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Experience this audience belongs to"},"enabled":{"type":"boolean","description":"Whether audience targeting is enabled"},"excludeCurrency":{"type":"object","properties":{"exclude":{"type":"boolean","description":"Whether to exclude users based on currency"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Currency code to exclude (e.g., 'USD')"},"country":{"description":"Country to exclude","type":"string"},"region":{"description":"Region/state to exclude","type":"string"},"city":{"description":"City to exclude","type":"string"}},"required":["exclude","currency"],"additionalProperties":false,"description":"Currency-based exclusion rules"},"wholesale":{"type":"boolean","description":"Whether to include/exclude wholesale customers"},"audienceType":{"description":"Type of audience: 'common', 'custom', or 'advanced'","type":"string","enum":["common","custom","advanced"]},"elseAction":{"anyOf":[{"type":"string","enum":["experienceInclude","experienceExclude","experienceUnassigned","assignVariation","randomVariation","leaveUnassigned"]},{"type":"null"}],"description":"Default action when no filters match"},"elseVariationId":{"description":"Default variation ID when elseAction is 'assignVariation'","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"elseExcludeFromAnalytics":{"default":false,"description":"Whether to exclude non-matching users from analytics","type":"boolean"},"filters":{"default":[],"description":"Array of audience filter rules evaluated in priority order","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the filter"},"priority":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Priority order when multiple audiences match (lower = higher priority)"},"action":{"anyOf":[{"type":"string","enum":["experienceInclude","experienceExclude","experienceUnassigned","assignVariation","randomVariation","leaveUnassigned"]},{"type":"null"}],"description":"What to do when audience matches: 'assignVariation', 'randomVariation', 'excludeFromExperience'"},"filterType":{"type":"string","enum":["utm","url","urlPath","device","visitor","jsExpression","trafficSource","country","referrer","cookie","klaviyo","landingPage"],"description":"Type of filter: 'utm' (campaign params), 'url' (page URL), 'device', 'location', etc."},"expression":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"query":{"type":"object","properties":{"key":{"type":"string","description":"Parameter name to match (e.g., 'utm_source', 'device_type')"},"value":{"type":"string","description":"Value to match against"},"filter":{"description":"Match type: 'simple', 'contains', 'regex', etc.","anyOf":[{"type":"string","enum":["equals","contains","startsWith","endsWith","doesNotEqual","doesNotContain","doesNotStartWith","doesNotEndWith","isNull","isNotNull","regex"]},{"type":"null"}]},"type":{"default":"utm","description":"Type of parameter being matched","type":"string","enum":["utm","url","urlPath","device","visitor","jsExpression","trafficSource","country","referrer","cookie","klaviyo","landingPage"]}},"required":["key","value","type"],"additionalProperties":false},"operator":{"type":"string","enum":["and","or","start_paren","end_paren"]}},"additionalProperties":false}},{"type":"null"}],"description":"Complex filter expression tree for advanced targeting"},"expressionType":{"description":"Whether using 'common' or 'custom' expression type","anyOf":[{"type":"string","enum":["common","custom"]},{"type":"null"}]},"variationId":{"description":"Specific variation to assign if action is 'assignVariation'","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"excludeFromAnalytics":{"default":false,"description":"Whether to exclude this audience from analytics tracking","type":"boolean"}},"required":["id","priority","action","filterType","excludeFromAnalytics"],"additionalProperties":false}},"evaluationFrequency":{"description":"How often to re-evaluate audience rules (in seconds)","anyOf":[{"type":"number"},{"type":"null"}]}},"required":["id","experienceId","enabled","excludeCurrency","wholesale","elseAction","elseExcludeFromAnalytics","filters"],"additionalProperties":false},{"type":"null"}]},"category":{"type":"string","enum":["experiment","personalization"],"description":"Experience type: 'experiment' for experiments, 'personalization' for personalizations"},"createdAtTs":{"type":"number","description":"Timestamp when the experience was created"},"currency":{"description":"Currency code (e.g., 'USD') and display settings","anyOf":[{"type":"object","properties":{"code":{"default":"USD","description":"ISO 4217 currency code (e.g., 'USD', 'EUR', 'GBP')","type":"string"},"country":{"description":"Country code for currency formatting","type":"string"},"options":{"description":"Additional currency formatting options"},"symbol":{"default":"$","description":"Currency symbol to display (e.g., '$', '€', '£')","type":"string"},"suffix":{"description":"Currency suffix if needed (e.g., for display after amount)","type":"string"}},"required":["code","symbol"],"additionalProperties":false},{"type":"null"}]},"description":{"description":"Detailed description of what this experience tests","anyOf":[{"type":"string"},{"type":"null"}]},"devicePreview":{"description":"Device and path configuration for previewing the experience","anyOf":[{"type":"object","properties":{"device":{"default":"desktop","description":"Device type for preview: 'desktop', 'mobile', or 'tablet'","type":"string","enum":["any","mobile","desktop"]},"path":{"default":"/","description":"URL path to use for preview (e.g., '/products/example')","type":"string"}},"required":["device","path"],"additionalProperties":false,"description":"Device and path configuration for previewing the experience"},{"type":"null"}]},"endedAtTs":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Timestamp when the experience ended (null if still running)"},"experienceActions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"experienceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"action":{"type":"string","enum":["start","pause","end","delete","reset"]},"actionTs":{"type":"number"}},"required":["id","experienceId","action","actionTs"],"additionalProperties":false},"description":"Actions and events tracked for this experience"},"experiencePageTargeting":{"default":[],"description":"Page-level targeting rules for where the experience should run","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filter":{"anyOf":[{"type":"string","enum":["equals","contains","startsWith","endsWith","doesNotEqual","doesNotContain","doesNotStartWith","doesNotEndWith","isNull","isNotNull","regex"]},{"type":"null"}]},"filterType":{"default":"url","type":"string","enum":["utm","url","device","visitor","jsExpression","trafficSource","country","referrer","cookie"]},"value":{"type":"string"},"order":{"type":"number"},"expression":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"query":{"type":"object","properties":{"key":{"type":"string","description":"Parameter name to match (e.g., 'utm_source', 'device_type')"},"value":{"type":"string","description":"Value to match against"},"filter":{"description":"Match type: 'simple', 'contains', 'regex', etc.","anyOf":[{"type":"string","enum":["equals","contains","startsWith","endsWith","doesNotEqual","doesNotContain","doesNotStartWith","doesNotEndWith","isNull","isNotNull","regex"]},{"type":"null"}]},"type":{"default":"utm","description":"Type of parameter being matched","type":"string","enum":["utm","url","urlPath","device","visitor","jsExpression","trafficSource","country","referrer","cookie","klaviyo","landingPage"]}},"required":["key","value","type"],"additionalProperties":false},"operator":{"type":"string","enum":["and","or","start_paren","end_paren"]}},"additionalProperties":false}},{"type":"null"}]},"experienceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id","filterType","value","order"],"additionalProperties":false}},"experienceProductTargeting":{"default":[],"description":"Product-level targeting rules for where the experience should run","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"experienceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"target":{"type":"string","enum":["productPage","productCard"],"description":"Where to evaluate: productPage or productCard"},"expression":{"anyOf":[{"type":"array","items":{"type":"object","properties":{"query":{"type":"object","properties":{"key":{"type":"string","enum":["productId","collection","tag","price","inventory"],"description":"Product attribute to match against"},"value":{"anyOf":[{"type":"string"},{"type":"number"}],"description":"Value to compare (string for text matching, number for numeric comparisons)"},"filter":{"type":"string","enum":["includes","doesNotInclude","greaterThan","lessThan"],"description":"Comparison operator"},"type":{"type":"string","enum":["productId","collection","tag","price","inventory"],"description":"Product attribute type (same as key)"}},"required":["key","value","filter","type"],"additionalProperties":false},"operator":{"type":"string","enum":["and","or","start_paren","end_paren"]}},"additionalProperties":false}},{"type":"null"}]}},"required":["id","experienceId","target"],"additionalProperties":false}},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the experience"},"isDeleted":{"description":"Whether the experience has been soft-deleted","type":"boolean"},"isExternal":{"description":"Whether the experience is managed externally","anyOf":[{"default":false,"type":"boolean"},{"type":"null"}]},"isPreview":{"default":true,"description":"Whether the experience is in preview mode. ALWAYS set to true","type":"boolean"},"lastUpdateTs":{"type":"number","description":"Timestamp of the last update to this experience"},"linkBaseUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Base URL for generating experience links"},"name":{"type":"string","description":"Name of the A/B test experience"},"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Organization that owns this experience"},"pausedAtTs":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Timestamp when the experience was paused (null if not paused)"},"productVariantCount":{"default":0,"description":"Number of product variants included in this experience","type":"number"},"requiresLink":{"default":false,"description":"Whether the experience requires a special link to access","type":"boolean"},"sourceAction":{"anyOf":[{"type":"string","enum":["duplicate","rollout"]},{"type":"null"}],"description":"Action taken from source experience: 'duplicate' or 'rollout'"},"sourceExperienceId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"ID of the source experience if this was duplicated or rolled out"},"startedAtTs":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Timestamp when the experience was started (null if not started)"},"status":{"type":"string","enum":["pending","started","ended","paused"],"description":"Experience status: 'pending' (not started), 'started' (active), 'paused', 'ended'"},"testTypes":{"type":"object","properties":{"hasTestPricing":{"type":"boolean","description":"Whether pricing variations are enabled"},"hasTestShipping":{"type":"boolean","description":"Whether shipping variations are enabled"},"hasTestCampaign":{"type":"boolean","description":"Whether campaign/offer variations are enabled"},"hasTestContent":{"type":"boolean","description":"Whether any content variations are enabled"},"hasTestContentUrl":{"type":"boolean","description":"Whether URL redirect variations are enabled"},"hasTestContentAdvanced":{"type":"boolean","description":"Whether advanced content variations are enabled"},"hasTestContentOnsite":{"type":"boolean","description":"Whether onsite edit variations are enabled"},"hasTestContentTemplate":{"type":"boolean","description":"Whether template variations are enabled"},"hasTestContentTheme":{"type":"boolean","description":"Whether theme variations are enabled"},"hasTestOnsiteInjections":{"type":"boolean","description":"Whether CSS/JS injection variations are enabled"},"hasTestCheckoutBlocks":{"type":"boolean","description":"Whether checkout block variations are enabled"}},"required":["hasTestPricing","hasTestShipping","hasTestCampaign","hasTestContent","hasTestContentUrl","hasTestContentAdvanced","hasTestContentOnsite","hasTestContentTemplate","hasTestContentTheme","hasTestOnsiteInjections","hasTestCheckoutBlocks"],"additionalProperties":false,"description":"Which variation types are enabled: content, pricing, shipping"},"type":{"type":"string","enum":["content/advanced","content/onsiteEdits","content/url","content/theme","content/template","pricing","shipping","personalization","personalization/offer","sitewide","checkoutBlock"],"description":"Type of experience: 'content/advanced' for content tests, 'pricing' for price tests, 'shipping' for shipping tests"},"history":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"userId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"user":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"firstName":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastName":{"anyOf":[{"type":"string"},{"type":"null"}]},"email":{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},"organizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"isBlocked":{"type":"boolean"},"showInfoPopup":{"type":"boolean"},"userAlerts":{"anyOf":[{"type":"object","properties":{"showPersonalizationsDialog":{"default":false,"type":"boolean"},"showPersonalizationMigrateBanner":{"default":false,"type":"boolean"},"showAnalyticsReleaseDialog":{"default":false,"type":"boolean"}},"additionalProperties":false},{"type":"null"}]},"showWelcome":{"default":true,"type":"boolean"},"preferredName":{"anyOf":[{"type":"string"},{"type":"null"}]},"preferredEmail":{"anyOf":[{"type":"string"},{"type":"null"}]},"installer":{"default":false,"type":"boolean"},"companyRole":{"anyOf":[{"type":"string"},{"type":"null"}]},"previousExperience":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","email","organizationId","isBlocked","showInfoPopup","showWelcome","installer"],"additionalProperties":false},{"type":"null"}]},"experienceId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"action":{"type":"string","enum":["startExperience","pauseExperience","endExperience","saveExperience","deleteExperience","enableCampaign","disableCampaign","saveCampaign","archiveCampaign","confirmIntegration","duplicateExperience","rolloutExperience","archiveExperience","unArchiveExperience","resetExperience"]},"lastUpdateTs":{"type":"number"},"createdAtTs":{"type":"number"}},"required":["id","action","lastUpdateTs","createdAtTs"],"additionalProperties":false}},"previewPath":{"type":"string"},"variations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the variation"},"experienceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Experience this variation belongs to"},"name":{"type":"string","description":"Variation name (e.g., 'Control', 'Variant A')"},"percentage":{"type":"number","description":"Traffic percentage (0-100) allocated to this variation"},"isControl":{"default":false,"description":"Whether this is the control/baseline variation","type":"boolean"},"order":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Display order in analytics dashboard"},"functionSyncError":{"default":false,"description":"Whether there's a sync error with external functions","type":"boolean"},"testExperienceId":{"description":"ID of test experience for advanced configurations","anyOf":[{"type":"string"},{"type":"null"}]},"offerId":{"description":"ID of associated offer","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"redirects":{"description":"URL redirects for this variation","default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the redirect"},"group":{"type":"number","description":"Redirect group number for organizing related redirects. Group by common origin URL"},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Variation this redirect belongs to"},"originUrl":{"type":"string","description":"URL pattern to match for redirect (supports wildcards)"},"destinationUrl":{"description":"URL to redirect users to","anyOf":[{"type":"string"},{"type":"null"}]},"queryParams":{"default":[],"description":"Query parameters to add to the destination URL","type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"Query parameter name"},"value":{"type":"string","description":"Query parameter value"}},"required":["key","value"],"additionalProperties":false}},"skip":{"type":"boolean","description":"Whether to skip this redirect"},"isThemeTest":{"type":"boolean","description":"Whether this is testing different themes"},"isTemplateTest":{"type":"boolean","description":"Whether this is testing different templates"},"templateType":{"description":"Type of Shopify template being tested","anyOf":[{"type":"string","enum":["404","","article","blog","cart","collection","index","list-collections","page","password","product","search"]},{"type":"null"}]},"templateSuffixes":{"default":[],"description":"Template suffix variations to test","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"redirectOnce":{"default":false,"description":"Whether to only redirect once per user session","type":"boolean"},"filter":{"default":"matchesExactly","description":"How to match URLs: 'matchesExactly', 'contains', 'endsWith', 'matchesRegex', 'none'","type":"string","enum":["matchesExactly","contains","endsWith","matchesRegex","none"]},"find":{"description":"Text to find in the URL for partial matching.  MUST be defined if using 'partialReplacement'","anyOf":[{"type":"string"},{"type":"null"}]},"redirectType":{"default":"fullReplacement","description":"Whether to do 'fullReplacement' or 'partialReplacement' of the URL","type":"string","enum":["fullReplacement","partialReplacement"]}},"required":["id","group","variationId","originUrl","queryParams","skip","isThemeTest","isTemplateTest","templateSuffixes","redirectOnce","filter","redirectType"],"additionalProperties":false}}},"required":["id","experienceId","name","percentage","isControl","order","functionSyncError"],"additionalProperties":false}},"organization":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"shopId":{"type":"string"}},"required":["id","name","shopId"],"additionalProperties":false},{"type":"null"}]},"experienceAnalysis":{"type":"object","properties":{"analyticsViewType":{"type":"string","enum":["test_orders_only","sitewide_orders","none"],"description":"Type of analytics view to display"}},"required":["analyticsViewType"],"additionalProperties":false}},"required":["category","createdAtTs","endedAtTs","experienceActions","experiencePageTargeting","experienceProductTargeting","id","isPreview","lastUpdateTs","linkBaseUrl","name","organizationId","pausedAtTs","productVariantCount","requiresLink","startedAtTs","status","testTypes","type","history","previewPath","variations","experienceAnalysis"],"additionalProperties":false}},"page":{"type":"number"}},"required":["experiencesList"],"additionalProperties":false}}}},"429":{"description":"Too Many Requests","headers":{"access-control-allow-origin":{"schema":{"type":"string"},"description":"CORS allow-origin header."},"access-control-allow-credentials":{"schema":{"type":"string"},"description":"CORS allow-credentials header."},"content-type":{"schema":{"type":"string"},"description":"Response content type."},"X-RateLimit-Limit":{"schema":{"type":"string"},"description":"Maximum requests allowed in the current window."},"X-RateLimit-Remaining":{"schema":{"type":"string"},"description":"Remaining requests in the current window."},"X-RateLimit-Reset":{"schema":{"type":"string"},"description":"Unix timestamp (ms) when the rate limit resets."},"Retry-After":{"schema":{"type":"string"},"description":"Seconds to wait before retrying after a rate limit hit."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"retryAfter":{"type":"number"}},"required":["error","message"]}}}}}}}}}
```

## GET /v25-10-beta/analytics/resource/{experienceId}

> \*\*Rate Limit:\*\* 10 requests per 60s window, refilling 10 tokens every 60s.

```json
{"openapi":"3.1.0","info":{"title":"Intelligems External API v25-10-beta","version":"v25-10-beta"},"security":[{"intelligems_access_token":[]}],"components":{"securitySchemes":{"intelligems_access_token":{"type":"apiKey","in":"header","name":"intelligems-access-token","description":"Intelligems external API access token."}}},"paths":{"/v25-10-beta/analytics/resource/{experienceId}":{"get":{"tags":["GET: Experience Data"],"description":"**Rate Limit:** 10 requests per 60s window, refilling 10 tokens every 60s.","parameters":[{"in":"query","name":"view","schema":{"default":"overview","type":"string","enum":["overview","audience"]}},{"in":"query","name":"audience","schema":{"type":"string","enum":["device_type","visitor_type","source_channel","source_site","country_code","landing_page_full_path"]}},{"in":"query","name":"analyticsViewType","schema":{"type":"string","enum":["test_orders_only","sitewide_orders","none"]}},{"in":"query","name":"end","schema":{"type":"string"}},{"in":"query","name":"start","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"access-control-allow-origin":{"schema":{"type":"string"},"description":"CORS allow-origin header."},"access-control-allow-credentials":{"schema":{"type":"string"},"description":"CORS allow-credentials header."},"content-type":{"schema":{"type":"string"},"description":"Response content type."},"Timing-Allow-Origin":{"schema":{"type":"string"},"description":"Allowed origin for Timing headers."},"X-RateLimit-Limit":{"schema":{"type":"string"},"description":"Maximum requests allowed in the current window."},"X-RateLimit-Remaining":{"schema":{"type":"string"},"description":"Remaining requests in the current window."},"X-RateLimit-Reset":{"schema":{"type":"string"},"description":"Unix timestamp (ms) when the rate limit resets."}},"content":{"application/json":{"schema":{"type":"object","properties":{"datasetId":{"type":"string","enum":["order_line_items","orders","aiProfit","variation_overview","variation_audience","variation_timeseries_discrete","variation_timeseries_cumulative","experience_countries","variation_shipping_method","variation_histogram","variation_products","variation_product_groups","variation_order_unit_mix","custom_events_plugin","custom_events_server","order_reconciliation","order_reconciliation_export","profit","country_codes","snapshots","experience_shipping_methods","timeseries_audience","snapshots_audience","holiday_benchmarking_single_day","holiday_benchmarking_multiple_days","order_distribution_histogram","order_distribution_unit_mix"]},"latestRunTs":{"type":"number"},"metrics":{"type":"array","items":{},"description":"Array of metric objects. Each metric object may contain the following fields (all optional):\n    \n    **Dimension Fields:**\n    - variation_id (string, UUID): The variation identifier\n    - dt (string): Timestamp for time series data\n    - audience (string): Audience segment identifier\n    \n    **Metric Fields (alphabetical):**\n    - abandoned_cart_rate: Rate of abandoned carts\n    - abandoned_checkout_rate: Rate of abandoned checkouts\n    - add_to_cart_rate: Add to cart rate\n    - avg_discount_per_all_orders: Average discount amount across all orders\n    - avg_discount_per_discounted_order: Average discount amount for orders with discounts\n    - avg_product_revenue_per_unit: Average revenue per product unit\n    - avg_units_per_order: Average number of units per order\n    - checkout_address_submitted_rate: Rate of checkouts with address submitted\n    - checkout_begin_rate: Checkout initiation rate\n    - checkout_enter_contact_info_rate: Rate of checkouts with contact info entered\n    - conversion_rate: Conversion rate metric with statistical details\n    - gross_profit_per_order: Gross profit per order\n    - gross_profit_per_visitor: Gross profit per visitor\n    - n_orders: Number of orders\n    - n_visitors: Number of visitors\n    - net_product_revenue_per_order: Average product revenue per order\n    - net_revenue: Total net revenue\n    - net_revenue_per_order: Average revenue per order\n    - net_revenue_per_visitor: Average revenue per visitor\n    - net_shipping_revenue_per_order: Average shipping revenue per order\n    - pct_orders_free_shipping: Percentage of orders with free shipping\n    - pct_subscription_orders: Percentage of orders that are subscriptions\n    - subscription_gross_profit_per_visitor: Gross profit from subscriptions per visitor\n    - subscription_orders_per_visitor: Subscription orders per visitor\n    - subscription_revenue_per_order: Revenue from subscriptions per order\n    - subscription_revenue_per_visitor: Revenue from subscriptions per visitor\n    - view_collection_page_rate: Collection page view rate\n    - view_product_page_rate: Product page view rate\n    \n    Each statistical metric contains:\n    - value (number): The metric value"},"audienceOrder":{},"histogram":{},"kde":{},"cdf":{},"variations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the variation"},"experienceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Experience this variation belongs to"},"name":{"type":"string","description":"Variation name (e.g., 'Control', 'Variant A')"},"percentage":{"type":"number","description":"Traffic percentage (0-100) allocated to this variation"},"isControl":{"default":false,"description":"Whether this is the control/baseline variation","type":"boolean"},"order":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Display order in analytics dashboard"},"priceChange":{"description":"Amount to adjust prices by (positive = increase, negative = discount)","anyOf":[{"type":"string"},{"type":"null"}]},"priceChangeUnit":{"description":"Whether priceChange is 'percent' or 'dollar' amount","anyOf":[{"type":"string","enum":["percent","dollar"]},{"type":"null"}]},"priceRoundingType":{"description":"How to round final prices: 'none', 'nearest', 'up', 'down'","anyOf":[{"type":"string","enum":["none","nearest","up","down"]},{"type":"null"}]},"priceRoundingAmount":{"description":"Amount to round to (e.g., '0.99' for $X.99 pricing)","anyOf":[{"type":"string"},{"type":"null"}]},"onsiteEdits":{"default":[],"description":"Content edits to apply for this variation","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the onsite edit"},"onsiteEditType":{"description":"Type of edit: 'html' (replace HTML), 'text' (replace text), 'image' (replace image), 'hide' (hide element)","anyOf":[{"type":"string","enum":["html","text","image","hide"]},{"type":"null"}]},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Variation this edit belongs to"},"find":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Text or HTML to find on the page (supports regex if isRegex=true)"},"title":{"description":"Display title for this edit","anyOf":[{"type":"string"},{"type":"null"}]},"isRegex":{"default":false,"description":"Whether 'find' field contains a regular expression","type":"boolean"},"replace":{"default":"","description":"New content to replace the found content with","type":"string"},"querySelectors":{"default":[""],"description":"CSS selectors to target specific elements (e.g., '.product-title', '#header')","type":"array","items":{"type":"string"}},"skip":{"default":false,"description":"Whether to skip applying this edit","type":"boolean"},"remove":{"default":false,"description":"Whether to completely remove the element instead of replacing","type":"boolean"},"groupId":{"description":"Group ID for organizing related edits","type":"string"},"isHtml":{"default":false,"type":"boolean"},"isImage":{"default":false,"type":"boolean"},"insertType":{"anyOf":[{"type":"string","enum":["beforebegin","afterbegin","beforeend","afterend"]},{"type":"null"}],"description":"Where to insert content: 'beforebegin', 'afterbegin', 'beforeend', 'afterend'"},"createdAtUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"URL where this edit was created"},"createdAtTs":{"description":"Timestamp when this edit was created","anyOf":[{"type":"number"},{"type":"null"}]},"imageSearchUrl":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"URL to search for when replacing images (URL-based mode). If present, replacement finds all images with matching pathname. If null, uses querySelectors (selector-based mode)."}},"required":["id","variationId","find","isRegex","replace","querySelectors","skip","remove","isHtml","isImage","insertType"],"additionalProperties":false}},"onsiteInjections":{"description":"CSS/JS injections for this variation","anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the injection"},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Variation this injection belongs to"},"customCss":{"description":"Custom CSS styles to inject into the page","anyOf":[{"type":"string"},{"type":"null"}]},"customJs":{"description":"Custom JavaScript code to execute on the page","anyOf":[{"type":"string"},{"type":"null"}]},"jsInjectionMode":{"type":"object","properties":{"type":{"default":"immediately","description":"When to inject JS: 'immediately', 'onWindowLoad', 'timeout' (with delay)","type":"string","enum":["immediately","onWindowLoad","timeout"]},"timeout":{"description":"Delay in milliseconds when type is 'timeout'","anyOf":[{"type":"number"},{"type":"string"}]}},"required":["type"],"additionalProperties":false,"description":"Configuration for when to inject the JavaScript"}},"required":["id","variationId","jsInjectionMode"],"additionalProperties":false},{"type":"null"}]},"offer":{"description":"Discount offer configuration","anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the offer"},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Variation this offer belongs to"},"enabled":{"default":false,"description":"Whether the offer is active and applying to customers","type":"boolean"},"isTest":{"default":false,"description":"Whether the offer is in test mode","type":"boolean"},"isArchived":{"default":false,"description":"Whether the offer has been archived","type":"boolean"},"name":{"type":"string","description":"Internal name for the offer"},"unitType":{"default":"dollar","description":"Discount basis: 'unit' (per item) or 'dollar' (fixed amount)","type":"string","enum":["unit","dollar"]},"discountType":{"default":"dollar","description":"How discount is calculated: 'percentage' or 'dollar'","type":"string","enum":["percentage","dollar"]},"tiers":{"default":[],"description":"Volume discount tiers (e.g., buy 2 get 10% off, buy 3 get 15% off)","type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"minimumUnits":{"default":1,"type":"number"},"maximumUnits":{"default":1,"type":"number"},"unitDiscount":{"default":1,"type":"number"},"discountTitle":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]},"giftWithPurchaseTitle":{"default":null,"anyOf":[{"type":"string"},{"type":"null"}]},"isFreeShipping":{"default":false,"type":"boolean"},"isGiftWithPurchase":{"default":false,"type":"boolean"},"giftWithPurchaseProductId":{"anyOf":[{"type":"string"},{"type":"null"}]},"giftWithPurchaseVariantId":{"anyOf":[{"type":"string"},{"type":"null"}]},"autoAddGiftWithPurchase":{"default":false,"type":"boolean"},"giftWithPurchaseHandle":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","minimumUnits","maximumUnits","unitDiscount","discountTitle","giftWithPurchaseTitle","isFreeShipping","isGiftWithPurchase","autoAddGiftWithPurchase"],"additionalProperties":false}},"maximumDollarDiscount":{"description":"Maximum dollar amount that can be discounted (cap on percentage discounts)","anyOf":[{"type":"number"},{"type":"null"}]},"discountApplicationType":{"type":"string","enum":["tieredDiscount","cartDiscount","freeGift","freeShipping",""],"description":"Type of discount: 'tieredDiscount', 'cartDiscount', 'freeGift', 'freeShipping'"},"discountApplicationMethod":{"type":"string","enum":["perItem","perOrder"],"description":"How to apply discount: 'perItem' or 'perOrder'"},"combinesWithIntelligems":{"type":"boolean","description":"Whether this offer stacks with other Intelligems discounts"},"combinesWithShopify":{"type":"boolean","description":"Whether this offer stacks with native Shopify discounts"},"shouldRejectCodes":{"type":"boolean","description":"Whether to reject discount codes when this offer is applied"},"shippingDiscount":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"discountType":{"type":"string","enum":["percentage","dollar"]},"unitDiscount":{"type":"number"},"rateFilter":{"anyOf":[{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"amount"},"amount":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"name"},"rules":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"operator":{"type":"string","enum":["is","contains","isNot","doesNotContain","startsWith","doesNotStartWith"]},"name":{"type":"string"}},"required":["id","operator","name"],"additionalProperties":false}}},"required":["type","rules"],"additionalProperties":false}]},{"type":"null"}]},"countryFilter":{"anyOf":[{"type":"object","properties":{"allow":{"type":"array","items":{"type":"string"}},"exclude":{"type":"array","items":{"type":"string"}}},"additionalProperties":false},{"type":"null"}]},"discountLabel":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["id","discountType","unitDiscount","rateFilter","countryFilter","discountLabel"],"additionalProperties":false},{"type":"null"}],"description":"Shipping discount configuration if applicable"},"requireSameItem":{"default":false,"description":"whether only multiples of the same product count toward a discount threshold, or if different products can be combined","type":"boolean"}},"required":["id","variationId","enabled","isTest","isArchived","name","unitType","discountType","tiers","discountApplicationType","discountApplicationMethod","combinesWithIntelligems","combinesWithShopify","shouldRejectCodes","shippingDiscount","requireSameItem"],"additionalProperties":false},{"type":"null"}]},"offerId":{"description":"ID of associated offer","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"shippingRateGroups":{"description":"Shipping rate configurations","default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"groupType":{"type":"string","enum":["flatRate","flatRateWithThreshold","thresholdOnly","tieredByPriceOrWeight","custom"]},"position":{"type":"number"},"rates":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"amount":{"type":"number"},"rateCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"rateType":{"type":"string","enum":["amount","threshold","tier"]},"currency":{"type":"string","enum":["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BIF","BMD","BND","BOB","BRL","BSD","BWP","BZD","CAD","CDF","CHF","CLP","CNY","COP","CRC","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ETB","EUR","FJD","FKP","GBP","GEL","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","ISK","JMD","JPY","KES","KGS","KHR","KMF","KRW","KYD","KZT","LAK","LBP","LKR","LRD","LSL","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MUR","MVR","MWK","MXN","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SEK","SGD","SHP","SLL","SRD","STD","SZL","THB","TJS","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","UYU","UZS","VND","VUV","WST","XAF","XCD","XOF","XPF","YER","ZAR","ZMW"]},"condition":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"min":{"default":0,"anyOf":[{"anyOf":[{"type":"number"},{"type":"string"}]},{"type":"null"}]},"max":{"anyOf":[{"anyOf":[{"type":"number"},{"type":"string"}]},{"type":"null"}]},"conditionType":{"type":"string","enum":["currency","weight"]},"unit":{"anyOf":[{"type":"string","enum":["g","kg","lb","oz"]},{"type":"null"}]}},"required":["min","conditionType"],"additionalProperties":false},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["name","amount","rateType","currency"],"additionalProperties":false}},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["id","groupType","position","rates","variationId"],"additionalProperties":false}},"excludeProducts":{"description":"Whether to exclude specific products from price changes","default":false,"type":"boolean"},"includeProducts":{"description":"Whether to include only specific products in price changes","default":false,"type":"boolean"},"testExperienceId":{"description":"ID of test experience for advanced configurations","anyOf":[{"type":"string"},{"type":"null"}]},"functionSyncError":{"default":false,"description":"Whether there's a sync error with external functions","type":"boolean"},"redirects":{"description":"URL redirects for this variation","default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the redirect"},"group":{"type":"number","description":"Redirect group number for organizing related redirects. Group by common origin URL"},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Variation this redirect belongs to"},"originUrl":{"type":"string","description":"URL pattern to match for redirect (supports wildcards)"},"destinationUrl":{"description":"URL to redirect users to","anyOf":[{"type":"string"},{"type":"null"}]},"queryParams":{"default":[],"description":"Query parameters to add to the destination URL","type":"array","items":{"type":"object","properties":{"key":{"type":"string","description":"Query parameter name"},"value":{"type":"string","description":"Query parameter value"}},"required":["key","value"],"additionalProperties":false}},"skip":{"type":"boolean","description":"Whether to skip this redirect"},"isThemeTest":{"type":"boolean","description":"Whether this is testing different themes"},"isTemplateTest":{"type":"boolean","description":"Whether this is testing different templates"},"templateType":{"description":"Type of Shopify template being tested","anyOf":[{"type":"string","enum":["404","","article","blog","cart","collection","index","list-collections","page","password","product","search"]},{"type":"null"}]},"templateSuffixes":{"default":[],"description":"Template suffix variations to test","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"redirectOnce":{"default":false,"description":"Whether to only redirect once per user session","type":"boolean"},"filter":{"default":"matchesExactly","description":"How to match URLs: 'matchesExactly', 'contains', 'endsWith', 'matchesRegex', 'none'","type":"string","enum":["matchesExactly","contains","endsWith","matchesRegex","none"]},"find":{"description":"Text to find in the URL for partial matching.  MUST be defined if using 'partialReplacement'","anyOf":[{"type":"string"},{"type":"null"}]},"redirectType":{"default":"fullReplacement","description":"Whether to do 'fullReplacement' or 'partialReplacement' of the URL","type":"string","enum":["fullReplacement","partialReplacement"]}},"required":["id","group","variationId","originUrl","queryParams","skip","isThemeTest","isTemplateTest","templateSuffixes","redirectOnce","filter","redirectType"],"additionalProperties":false}},"userInterfaces":{"description":"UI widgets to display for this variation","default":[],"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"isEnabled":{"type":"boolean"},"isArchived":{"default":false,"type":"boolean"},"widget":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string"},"enabledSitewide":{"default":false,"type":"boolean"},"parentId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"widgetType":{"type":"string","enum":["messageBoxPopup","messageBoxSlideOut","quantityButtons","discountProgressBar","shippingProgressBar"]},"config":{"type":"object","properties":{"desktop":{},"mobile":{}},"additionalProperties":false}},"required":["id","name","enabledSitewide","widgetType","config"],"additionalProperties":false},"widgetId":{"type":"string"},"category":{"type":"string","enum":["quantityButtons","progressBar","messageBox"]},"variationId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"desktopVariables":{"anyOf":[{},{"type":"null"}]},"mobileVariables":{"anyOf":[{},{"type":"null"}]},"styleOverrides":{"anyOf":[{},{"type":"null"}]}},"required":["id","isArchived","widgetId"],"additionalProperties":false}},"checkoutBlocks":{"description":"Checkout block configuration","default":[],"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the checkout block"},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Variation ID"},"locationId":{"type":"string","description":"Location identifier for the checkout block"},"blockType":{"type":"string","const":"trustBadge"},"name":{"type":"string","description":"Name of the checkout block"},"variables":{"type":"object","properties":{"headerText":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"order":{"type":"number"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"subtitle":{"anyOf":[{"type":"string"},{"type":"null"}]},"type":{"type":"string"},"icon":{"anyOf":[{"type":"string"},{"type":"null"}]},"iconColor":{"anyOf":[{"type":"string"},{"type":"null"}]},"iconSize":{"anyOf":[{"type":"string"},{"type":"null"}]},"imageSize":{"anyOf":[{"type":"number","minimum":1,"maximum":500},{"type":"null"}]},"imageAspectRatio":{"anyOf":[{"type":"string"},{"type":"null"}]},"image":{"anyOf":[{"type":"string"},{"type":"null"}]},"mediaSpacing":{"type":"string"}},"required":["order","type","imageSize","mediaSpacing"],"additionalProperties":false}}},"required":["headerText","items"],"additionalProperties":false,"description":"Element variables"},"styles":{"type":"object","properties":{"typography":{"type":"object","properties":{"header":{"type":"object","properties":{"fontSize":{"type":"string"},"fontStyle":{"type":"string"}},"required":["fontSize","fontStyle"],"additionalProperties":false},"itemTitle":{"type":"object","properties":{"fontSize":{"type":"string"},"fontStyle":{"type":"string"}},"required":["fontSize","fontStyle"],"additionalProperties":false},"itemSubtitle":{"type":"object","properties":{"fontSize":{"type":"string"},"fontStyle":{"type":"string"}},"required":["fontSize","fontStyle"],"additionalProperties":false}},"required":["header","itemTitle","itemSubtitle"],"additionalProperties":false},"backgroundColors":{"type":"object","properties":{"header":{"type":"string"},"item":{"type":"string"},"block":{"type":"string"}},"required":["header","item","block"],"additionalProperties":false},"colors":{"type":"object","properties":{"headerText":{"type":"string"},"itemTitleText":{"type":"string"},"itemSubtitleText":{"type":"string"}},"required":["headerText","itemTitleText","itemSubtitleText"],"additionalProperties":false},"layout":{"type":"object","properties":{"headerTextAlign":{"type":"string"},"bodyAlign":{"type":"string"},"itemTextAlign":{"type":"string"},"rowCount":{"type":"number"},"columnCount":{"type":"number"},"itemPositionAlign":{"type":"string"}},"required":["headerTextAlign","bodyAlign","itemTextAlign","rowCount","columnCount","itemPositionAlign"],"additionalProperties":false},"appearance":{"type":"object","properties":{"headerBorderThickness":{"type":"string"},"headerBorderStyle":{"default":"none","type":"string"},"headerCornerRadius":{"type":"string"},"headerPadding":{"type":"string"},"bodySpacing":{"type":"string"},"headingToBodySpacing":{"type":"string"},"blockBorderThickness":{"type":"string"},"blockBorderStyle":{"default":"none","type":"string"},"blockPadding":{"type":"string"},"blockCornerRadius":{"type":"string"},"itemBorderThickness":{"type":"string"},"itemBorderStyle":{"default":"none","type":"string"},"itemCornerRadius":{"type":"string"},"itemTextSpacing":{"type":"string"}},"required":["headerBorderThickness","headerBorderStyle","headerCornerRadius","headerPadding","bodySpacing","headingToBodySpacing","blockBorderThickness","blockBorderStyle","blockPadding","blockCornerRadius","itemBorderThickness","itemBorderStyle","itemCornerRadius","itemTextSpacing"],"additionalProperties":false}},"required":["typography","backgroundColors","colors","layout","appearance"],"additionalProperties":false,"description":"CSS styles"}},"required":["id","variationId","locationId","blockType","name","variables","styles"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Unique identifier for the checkout block"},"variationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Variation ID"},"locationId":{"type":"string","description":"Location identifier for the checkout block"},"blockType":{"type":"string","const":"upsell"},"name":{"type":"string","description":"Name of the checkout block"},"variables":{"type":"object","properties":{"headerText":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"order":{"type":"number"},"variantId":{"type":"string"}},"required":["order","variantId"],"additionalProperties":false}},"buttonText":{"type":"string"},"imageSize":{"type":"number","minimum":1,"maximum":500},"imageAspectRatio":{"type":"string"},"mediaSpacing":{"type":"string"}},"required":["headerText","items","buttonText","imageSize","imageAspectRatio","mediaSpacing"],"additionalProperties":false,"description":"Element variables"},"styles":{"type":"object","properties":{"typography":{"type":"object","properties":{"header":{"type":"object","properties":{"fontSize":{"type":"string"},"fontStyle":{"type":"string"}},"required":["fontSize","fontStyle"],"additionalProperties":false},"productTitle":{"type":"object","properties":{"fontSize":{"type":"string"},"fontStyle":{"type":"string"}},"required":["fontSize","fontStyle"],"additionalProperties":false},"price":{"type":"object","properties":{"fontSize":{"type":"string"},"fontStyle":{"type":"string"}},"required":["fontSize","fontStyle"],"additionalProperties":false},"button":{"type":"object","properties":{"fontSize":{"type":"string"},"fontStyle":{"type":"string"}},"required":["fontSize","fontStyle"],"additionalProperties":false}},"required":["header","productTitle","price","button"],"additionalProperties":false},"backgroundColors":{"type":"object","properties":{"header":{"type":"string"},"item":{"type":"string"},"block":{"type":"string"},"button":{"type":"string"},"productUnit":{"type":"string"}},"required":["header","item","block","button","productUnit"],"additionalProperties":false},"colors":{"type":"object","properties":{"headerText":{"type":"string"},"productText":{"type":"string"},"priceText":{"type":"string"}},"required":["headerText","productText","priceText"],"additionalProperties":false},"layout":{"type":"object","properties":{"headerTextAlign":{"type":"string"},"bodyAlign":{"type":"string"},"itemTextAlign":{"type":"string"},"rowCount":{"type":"number"},"columnCount":{"type":"number"},"itemPositionAlign":{"type":"string"}},"required":["headerTextAlign","bodyAlign","itemTextAlign","rowCount","columnCount","itemPositionAlign"],"additionalProperties":false},"appearance":{"type":"object","properties":{"headerBorderThickness":{"type":"string"},"headerBorderStyle":{"default":"none","type":"string"},"headerCornerRadius":{"type":"string"},"headerPadding":{"type":"string"},"bodySpacing":{"type":"string"},"headingToBodySpacing":{"type":"string"},"blockBorderThickness":{"type":"string"},"blockBorderStyle":{"default":"none","type":"string"},"blockPadding":{"type":"string"},"blockCornerRadius":{"type":"string"},"productBorderThickness":{"type":"string"},"productBorderStyle":{"default":"none","type":"string"},"productCornerRadius":{"type":"string"},"productTextSpacing":{"type":"string"}},"required":["headerBorderThickness","headerBorderStyle","headerCornerRadius","headerPadding","bodySpacing","headingToBodySpacing","blockBorderThickness","blockBorderStyle","blockPadding","blockCornerRadius","productBorderThickness","productBorderStyle","productCornerRadius","productTextSpacing"],"additionalProperties":false}},"required":["typography","backgroundColors","colors","layout","appearance"],"additionalProperties":false,"description":"CSS styles"}},"required":["id","variationId","locationId","blockType","name","variables","styles"],"additionalProperties":false}],"type":"object"}}},"required":["id","experienceId","name","percentage","isControl","order","onsiteEdits","functionSyncError"],"additionalProperties":false}},"experienceId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"experienceName":{"type":"string"}},"required":["datasetId","latestRunTs","metrics","audienceOrder","histogram","kde","cdf"],"additionalProperties":false}}}},"429":{"description":"Too Many Requests","headers":{"access-control-allow-origin":{"schema":{"type":"string"},"description":"CORS allow-origin header."},"access-control-allow-credentials":{"schema":{"type":"string"},"description":"CORS allow-credentials header."},"content-type":{"schema":{"type":"string"},"description":"Response content type."},"X-RateLimit-Limit":{"schema":{"type":"string"},"description":"Maximum requests allowed in the current window."},"X-RateLimit-Remaining":{"schema":{"type":"string"},"description":"Remaining requests in the current window."},"X-RateLimit-Reset":{"schema":{"type":"string"},"description":"Unix timestamp (ms) when the rate limit resets."},"Retry-After":{"schema":{"type":"string"},"description":"Seconds to wait before retrying after a rate limit hit."}},"content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"string"},"message":{"type":"string"},"retryAfter":{"type":"number"}},"required":["error","message"]}}}}}}}}}
```