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 features-v2 API

Control your feature flags programatically.Rules are returned as a unified top-level array; each rule carries `allEnvironments` / `environments` scope fields instead of being bucketed by environment.

GrowthBook features-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 Features v2. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 9 operations across 6 paths, and defines 13 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.

9 operations 6 paths 13 schemas 1 DELETE4 GET4 POST

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 features-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 9

Across 6 paths, the API surfaces 9 operations — 1 DELETE, 4 GET, 4 POST. Each is listed below with its method, path, parameters, and response codes.

features-v2 9

Control your feature flags programatically. Rules are returned as a unified top-level array; each rule carries allEnvironments / environments scope fields instead of being buckete…

GET
/v2/features
Get all features
listFeaturesV2 5 params → 200
POST
/v2/features
Create a single feature
postFeatureV2 body → 200
GET
/v2/features/{id}
Get a single feature
getFeatureV2 2 params → 200
POST
/v2/features/{id}
Partially update a feature
updateFeatureV2 1 param body → 200
DELETE
/v2/features/{id}
Deletes a single feature
deleteFeatureV2 1 param → 200
POST
/v2/features/{id}/toggle
Toggle a feature in one or more environments
toggleFeatureV2 1 param body → 200
POST
/v2/features/{id}/revert
Revert a feature to a specific revision
revertFeatureV2 1 param body → 200
GET
/v2/feature-keys
Get list of feature keys
getFeatureKeysV2 1 param → 200
GET
/v2/stale-features
Get stale status for one or more features
getFeatureStaleV2 1 param → 200

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are FeatureV2 (16 properties), FeatureRevisionV2 (15 properties), PaginationFields (6 properties), FeatureEnvironmentV2 (3 properties). Each schema is shown below with its type and property counts.

FeatureV2
object
16 properties 13 required
FeatureEnvironmentV2
object
3 properties 2 required
FeatureWithRevisionsV2
FeatureForceRule
FeatureRuleV2
FeatureRevisionV2
object
15 properties 7 required
FeatureExperimentRule
FeatureExperimentRefRule
FeatureRule
FeatureRolloutRule
PaginationFields
object
6 properties 6 required
ScheduleRule
object
2 properties 2 required
FeatureSafeRolloutRule

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

growthbook-features-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 features-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.