Skip to main content

Assign A/B variant for a user

GET 

/v1/click/render/variant/:deploymentId

Splits users evenly across the sibling deployments of a route: deployments in your organization that share a domain, environment and path and differ only in variant. The same user and deployment always land on the same variant. When the deployment has no siblings it is returned unchanged.

Request​

Responses​

The deployment to show this user

Response Headers
    X-Request-Id

    Correlation id for this request, returned on every response (success and error). Quote it when contacting support to pinpoint the exact request, and use it to correlate your own logs. It is the same 128-bit id as the trace-id segment of the traceparent header.

    traceparent

    W3C Trace Context identifier for this request, returned on every response. Send your own traceparent on a request to have it adopted, so a multi-call workflow shares one trace. Format: 00-<32-hex trace-id>-<16-hex span-id>-<2-hex flags>.