v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Features

Clone a feature flag

Creates a copy of the specified feature flag. The copy can be created in any project.

post/api/admin/projects/{projectId}/features/{featureName}/clone

Path parameters

projectIdstring required
featureNamestring required

Request body

namestring required

The name of the new feature

replaceGroupIdboolean

Whether to use the new feature name as its group ID or not. Group ID is used for calculating stickiness. Defaults to true.

Example request

{
  "name": "new-feature",
  "replaceGroupId": true
}

Response

featureSchema

namestring required

Unique feature name

typestring

Type of the flag e.g. experiment, kill-switch, release, operational, permission

descriptionstring nullable

Detailed description of the feature

archivedboolean

true if the feature is archived

projectstring

Name of the project the feature belongs to

enabledboolean

true if the feature is enabled, otherwise false.

staleboolean

true if the feature is stale based on the age and feature type, otherwise false.

favoriteboolean

true if the feature was favorited, otherwise false.

impressionDataboolean

true if the impression data collection is enabled for the feature, otherwise false.

createdAtstring date-time nullable

The date the feature was created

archivedAtstring date-time nullable

The date the feature was archived

childrenstring[]

The list of child feature names. This is an experimental field and may change.