mcp

POST /api/v1/projects/{project_pk}/features/{feature_pk}/mv-options/

Creates a new multivariate option for a feature flag.

Request

  • Base URL
    https://api.flagsmith.com
  • Auth
    • API key in header Authorization
    • or API key in header Authorization

Path parameters

feature_pkinteger required
project_pkstring required

Request body

idinteger
uuidstring uuid
integer_valueinteger nullable
string_valuestring nullable
boolean_valueboolean nullable
default_percentage_allocationnumber double
keystring nullable

A stable, human-readable identifier for the variant.

featureinteger required

Response

idinteger
uuidstring uuid
integer_valueinteger nullable
string_valuestring nullable
boolean_valueboolean nullable
default_percentage_allocationnumber double
keystring nullable

A stable, human-readable identifier for the variant.

featureinteger required

Changes

No recorded changes to this operation across all 21 revisions of this API.