---
title: "POST /api/v1/projects/{project_pk}/features/{feature_pk}/mv-options/"
method: POST
path: "/api/v1/projects/{project_pk}/features/{feature_pk}/mv-options/"
tags: ["mcp"]
---

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

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

Creates a new multivariate option for a feature flag.

## Path parameters

- `feature_pk` integer, required
- `project_pk` string, required

## Request body

- MultivariateFeatureOption
  - `id` integer
  - `uuid` string, uuid
  - `type` union
    - 'int' | 'unicode' | 'bool' — * `int` - Integer * `unicode` - String * `bool` - Boolean
    - ''
    - unknown
  - `integer_value` integer, nullable
  - `string_value` string, nullable
  - `boolean_value` boolean, nullable
  - `default_percentage_allocation` number, double
  - `key` string, nullable — A stable, human-readable identifier for the variant.
  - `feature` integer, required

## Response `201`

- MultivariateFeatureOption
  - `id` integer
  - `uuid` string, uuid
  - `type` union
    - 'int' | 'unicode' | 'bool' — * `int` - Integer * `unicode` - String * `bool` - Boolean
    - ''
    - unknown
  - `integer_value` integer, nullable
  - `string_value` string, nullable
  - `boolean_value` boolean, nullable
  - `default_percentage_allocation` number, double
  - `key` string, nullable — A stable, human-readable identifier for the variant.
  - `feature` integer, required

---

[API](https://skmtc.dev/flagsmith/apis/flagsmith-api.md) · [All operations](https://skmtc.dev/flagsmith/apis/flagsmith-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flagsmith/flagsmith-api/revisions/5a8154d05269/schema)
