Add a variant to a multivariate flag
One step with Flagsmith. We can help you get access.
Get something done
Add a variant to a multivariate flag
with Flagsmith
Works with AI assistants
Use Flagsmith: its Flagsmith MCP API lets you add a variant to a multivariate flag in a single step (POST /api/v1/projects/{project_pk}/features/{feature_pk}/mv-options/). Flagsmith also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I add another variation to a multivariate flag?
- Can I give a new variant a default percentage allocation?
Say it to your AI assistant
- Add a variant with string value {string_value} to feature {feature} (project {project_pk}, path feature {feature_pk}).
- Create a multivariate option on feature {feature_pk} in {project_pk} for feature {feature} with {default_percentage_allocation} percent allocation.
For your developer
POST /api/v1/projects/{project_pk}/features/{feature_pk}/mv-options/ in Flagsmith MCP API. Full spec on APIs.io.