{ "opencollection": "1.0.0", "info": { "name": "GrowthBook REST AnalyticsExplorations features API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "features", "type": "folder" }, "items": [ { "info": { "name": "Get all features", "type": "http" }, "http": { "method": "GET", "url": "https://api.growthbook.io/api/v1/features", "params": [ { "name": "limit", "value": "", "type": "query", "description": "The number of items to return" }, { "name": "offset", "value": "", "type": "query", "description": "How many items to skip (use in conjunction with limit for pagination)" }, { "name": "projectId", "value": "", "type": "query", "description": "Filter by project id" }, { "name": "clientKey", "value": "", "type": "query", "description": "Filter by a SDK connection's client key" }, { "name": "skipPagination", "value": "", "type": "query", "description": "If true, return all matching items and ignore limit/offset.\nSelf-hosted only. Has no effect unless API_ALLOW_SKIP_PAGINATION is set to true or 1." } ] }, "docs": "**Deprecated.** Use [GET /v2/features](#operation/listFeaturesV2) instead.\n\nReturns features with pagination. The skipPagination query parameter is\nhonored only when API_ALLOW_SKIP_PAGINATION is set (self-hosted deployments).\n" }, { "info": { "name": "Create a single feature", "type": "http" }, "http": { "method": "POST", "url": "https://api.growthbook.io/api/v1/features", "body": { "type": "json", "data": "{}" } }, "docs": "**Deprecated.** Use [POST /v2/features](#operation/postFeatureV2) instead." }, { "info": { "name": "Get a single feature", "type": "http" }, "http": { "method": "GET", "url": "https://api.growthbook.io/api/v1/features/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the requested resource" }, { "name": "withRevisions", "value": "", "type": "query", "description": "Also return feature revisions (all, draft, or published statuses)" } ] }, "docs": "**Deprecated.** Use [GET /v2/features/:id](#operation/getFeatureV2) instead." }, { "info": { "name": "Partially update a feature", "type": "http" }, "http": { "method": "POST", "url": "https://api.growthbook.io/api/v1/features/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the requested resource" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Deprecated.** Use [POST /v2/features/:id](#operation/updateFeatureV2) instead.\n\nUpdates any combination of a feature's metadata (description, owner, tags, project), default value, environment settings (rules, kill switches, enabled state), prerequisites, holdout assignment, or JSON schema validation. All provided fields are merged into the existing feature and the result is immediately published as a new revision.\n\nReturns 403 if the API key lacks permission or if approval rules are enabled fo" }, { "info": { "name": "Deletes a single feature", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.growthbook.io/api/v1/features/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the requested resource" } ] }, "docs": "**Deprecated.** Use [DELETE /v2/features/:id](#operation/deleteFeatureV2) instead.\n\nPermanently deletes a feature and all of its revisions.\n\nArchived features can be deleted freely. Deleting a live (non-archived) feature returns 403 unless the org setting \"REST API always bypasses approval requirements\" is enabled, or the API key lacks delete permission.\n" }, { "info": { "name": "Toggle a feature in one or more environments", "type": "http" }, "http": { "method": "POST", "url": "https://api.growthbook.io/api/v1/features/:id/toggle", "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the requested resource" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Deprecated.** Use [POST /v2/features/:id/toggle](#operation/toggleFeatureV2) instead.\n\nEnables or disables a feature in one or more environments simultaneously. Accepts a map of environment name → boolean and immediately publishes the change.\n\nReturns 403 if the API key lacks permission or if approval rules are enabled for an affected environment and the org setting \"REST API always bypasses approval requirements\" is off.\n" }, { "info": { "name": "Revert a feature to a specific revision", "type": "http" }, "http": { "method": "POST", "url": "https://api.growthbook.io/api/v1/features/:id/revert", "params": [ { "name": "id", "value": "", "type": "path", "description": "The id of the requested resource" } ], "body": { "type": "json", "data": "{}" } }, "docs": "**Deprecated.** Use [POST /v2/features/:id/revert](#operation/revertFeatureV2) instead.\n\nCreates a new revision whose rules and values match a previously-published revision, then immediately publishes it. This leaves a clear audit trail of the revert action in the revision history.\n\nReturns 403 if the API key lacks permission or if approval rules are enabled for an affected environment and the org setting \"REST API always bypasses approval requirements\" is off.\n" }, { "info": { "name": "Get list of feature keys", "type": "http" }, "http": { "method": "GET", "url": "https://api.growthbook.io/api/v1/feature-keys", "params": [ { "name": "projectId", "value": "", "type": "query", "description": "Filter by project id" } ] }, "docs": "**Deprecated.** Use [GET /v2/feature-keys](#operation/getFeatureKeysV2) instead." }, { "info": { "name": "Get stale status for one or more features", "type": "http" }, "http": { "method": "GET", "url": "https://api.growthbook.io/api/v1/stale-features", "params": [ { "name": "ids", "value": "", "type": "query", "description": "Comma-separated list of feature IDs (URL-encoded if needed). Example: `my_feature,another_feature`\n" } ] }, "docs": "**Deprecated.** Use [GET /v2/stale-features](#operation/getFeatureStaleV2) instead." } ] } ], "bundled": true }