Add a feature state to a draft version
One step with Flagsmith. We can help you get access.
Get something done
Add a feature state to a draft version
with Flagsmith
Works with AI assistants
Use Flagsmith: its Flagsmith MCP API lets you add a feature state to a draft version in a single step (POST /api/v1/environments/{environment_pk}/features/{feature_pk}/versions/{environment_feature_version_pk}/featurestates/). 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 a segment override to an unpublished feature version?
- Can I add a new feature state to a version before it goes live?
Say it to your AI assistant
- Add a feature state with value {feature_state_value} to version {environment_feature_version_pk} of feature {feature_pk} in {environment_pk}.
- In draft version {environment_feature_version_pk} of {feature_pk} in {environment_pk}, override segment {feature_segment} with {feature_state_value}.
For your developer
POST /api/v1/environments/{environment_pk}/features/{feature_pk}/versions/{environment_feature_version_pk}/featurestates/ in Flagsmith MCP API. Full spec on APIs.io.