Get Variant Assignments
Evaluate Feature Flags (GET)
Evaluate all enabled feature flags for a user with the provided context. Returns selected variants for flags the user is eligible for.
get/flags
Path parameters
project_idinteger required
Query parameters
tokenstring
Your project token
contextstring required
URL-encoded JSON object containing evaluation context with distinct_id (required) and optional device_id and custom_properties object
Response
Success
Example response
{
"flags": {
"new_checkout_flow": {
"variant_key": "treatment",
"variant_value": true,
"experiment_id": "exp_123",
"is_experiment_active": true
}
}
}