How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GrowthBook feature-revisions-v2 API

Draft revisions for feature flags, including rules, scheduling, and approval workflows.Revision `rules` is a flat array with per-rule scope fields.

GrowthBook feature-revisions-v2 API is one of 36 APIs that GrowthBook publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include feature-revisions-v2. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 24 operations across 21 paths, and defines 10 schemas. It is described by OpenAPI 3.2.0, at version 1.0.0.

Requests are made against 2 base URLs: https://api.growthbook.io/api, https://{domain}/api.

24 operations 21 paths 10 schemas 2 DELETE5 GET10 POST7 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.0
Base URL
https://api.growthbook.io/api
Authentication
HTTP Bearer, HTTP Basic
Resource Areas
1

Authentication & Security 2

GrowthBook feature-revisions-v2 API declares 2 security schemes for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

  • bearerAuth — If using Bearer auth, pass the Secret Key as the token: bash curl https://api.growthbook.io/api/v1/features -H "Authorization: Bearer secretabc123DEF456"
  • basicAuth — If using HTTP Basic auth, pass the Secret Key as the username and leave the password blank: bash curl https://api.growthbook.io/api/v1/features -u secretabc123…

Paths & Operations 24

Across 21 paths, the API surfaces 24 operations — 2 DELETE, 5 GET, 10 POST, 7 PUT. Each is listed below with its method, path, parameters, and response codes.

feature-revisions-v2 24

Draft revisions for feature flags, including rules, scheduling, and approval workflows. Revision rules is a flat array with per-rule scope fields.

GET
/v2/revisions
List feature revisions
listRevisionsV2 7 params → 200
GET
/v2/features/{id}/revisions
List revisions for a feature
getFeatureRevisionsV2 6 params → 200
POST
/v2/features/{id}/revisions
Create a draft revision
postFeatureRevisionV2 1 param body → 200
GET
/v2/features/{id}/revisions/latest
Get the most recent active draft revision
getFeatureRevisionLatestV2 2 params → 200
GET
/v2/features/{id}/revisions/{version}
Get a single feature revision
getFeatureRevisionV2 2 params → 200
PUT
/v2/features/{id}/revisions/{version}/metadata
Update revision metadata
putFeatureRevisionMetadataV2 2 params body → 200
PUT
/v2/features/{id}/revisions/{version}/default-value
Set the default value in a draft revision
putFeatureRevisionDefaultValueV2 2 params body → 200
PUT
/v2/features/{id}/revisions/{version}/prerequisites
Set feature-level prerequisites in a draft revision
putFeatureRevisionPrerequisitesV2 2 params body → 200
PUT
/v2/features/{id}/revisions/{version}/holdout
Set holdout in a draft revision
putFeatureRevisionHoldoutV2 2 params body → 200
PUT
/v2/features/{id}/revisions/{version}/archive
Set archived state in a draft revision
putFeatureRevisionArchiveV2 2 params body → 200
POST
/v2/features/{id}/revisions/{version}/toggle
Toggle an environment on/off in a draft revision
postFeatureRevisionToggleV2 2 params body → 200
POST
/v2/features/{id}/revisions/{version}/rules
Add a rule to a draft revision
postFeatureRevisionRuleAddV2 2 params body → 200
PUT
/v2/features/{id}/revisions/{version}/rules/{ruleId}
Update a rule in a draft revision
putFeatureRevisionRuleV2 3 params body → 200
DELETE
/v2/features/{id}/revisions/{version}/rules/{ruleId}
Delete a rule from a draft revision
deleteFeatureRevisionRuleV2 3 params body → 200
POST
/v2/features/{id}/revisions/{version}/rules/reorder
Reorder rules in the revision
postFeatureRevisionRulesReorderV2 2 params body → 200
PUT
/v2/features/{id}/revisions/{version}/rules/{ruleId}/ramp-schedule
Set ramp schedule for a rule
putFeatureRevisionRuleRampScheduleV2 3 params body → 200
DELETE
/v2/features/{id}/revisions/{version}/rules/{ruleId}/ramp-schedule
Remove ramp schedule from a rule
deleteFeatureRevisionRuleRampScheduleV2 3 params body → 200
POST
/v2/features/{id}/revisions/{version}/request-review
Request review for a draft revision
postFeatureRevisionRequestReviewV2 2 params body → 200
POST
/v2/features/{id}/revisions/{version}/submit-review
Submit a review on a draft revision
postFeatureRevisionSubmitReviewV2 2 params body → 200
GET
/v2/features/{id}/revisions/{version}/merge-status
Get merge status for a draft revision
getFeatureRevisionMergeStatusV2 2 params → 200
POST
/v2/features/{id}/revisions/{version}/rebase
Rebase a draft revision onto the current live version
postFeatureRevisionRebaseV2 2 params body → 200
POST
/v2/features/{id}/revisions/{version}/publish
Publish a draft revision
postFeatureRevisionPublishV2 2 params body → 200
POST
/v2/features/{id}/revisions/{version}/discard
Discard a draft revision
postFeatureRevisionDiscardV2 2 params body → 200
POST
/v2/features/{id}/revisions/{version}/revert
Revert the feature to a prior revision
postFeatureRevisionRevertV2 2 params body → 200

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are FeatureRevisionV2 (15 properties), conflicts (6 properties), ScheduleRule (2 properties). Each schema is shown below with its type and property counts.

FeatureForceRule
FeatureRuleV2
FeatureRevisionV2
object
15 properties 7 required
FeatureExperimentRule
FeatureExperimentRefRule
conflicts
object
6 properties 6 required
FeatureRule
FeatureRolloutRule
ScheduleRule
object
2 properties 2 required
FeatureSafeRolloutRule

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

growthbook-feature-revisions-v2-api-openapi.yml Raw ↑

Other APIs GrowthBook publishes across the network.

GrowthBook AnalyticsExplorations API
GrowthBook archetypes API
GrowthBook attributes API
GrowthBook code-references API
GrowthBook CustomFields API
GrowthBook Dashboards API
GrowthBook data-sources API
GrowthBook dimensions API
GrowthBook environments API
GrowthBook experiments API
GrowthBook ExperimentTemplates API
GrowthBook fact-metrics API
Where this information came from

This is an independent, third-party profile of GrowthBook feature-revisions-v2 API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.