GET /v1/variants
Variant keys for a visitor without resolving CMS content.
GET
/v1/variantsSelects zone variant keys only so the site can rewrite to a cacheable combo.
Edge base URL: https://edge.amplifyup.ai
Used by amplifyMiddleware for returning visitors. The browser URL stays the same; the rewrite is internal.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
| trackingId | string | Yes | Site tracking ID. Required if site is omitted. |
| site | string | No | Internal site id. Required if trackingId is omitted. |
| route | string | Yes | Page path, for example /insights |
| anonId | string | No | Visitor id. If omitted, Edge may read the first-party cookie. |
Example request
Example response (200)
Errors
| Status | Meaning |
|---|