capabilities.work

Variant Evaluation

A 2-step recipe with Amplitude. We can help you get access.

Recipe · 2 steps

Variant Evaluation

with Amplitude · Feature Flag Management

Fetch flag configurations and remotely evaluate variant assignments for a user.

  1. Download all flag configurations for local evaluation including targeting rules, variants, and segment definitions.
  2. Remotely evaluate all active experiments and feature flags for the supplied user, returning the variant assignments. Amplitude tracks an assignment event for each evaluation.
What you'll need to have ready
  • deploymentKey: The deployment key used as the Authorization value (without the Api-Key prefix).
  • userId: The user ID to evaluate variants for.
  • deviceId: The device ID to evaluate variants for.
  • userProperties: User properties used for targeting rule evaluation.
For your developer

Arazzo workflow amplitude:evaluate-user-variants, 2 operations: getFlags → evaluateVariants. Specs on APIs.io.