{ "opencollection": "1.0.0", "info": { "name": "Split Admin Feature Flags API", "version": "2.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Feature Flags", "type": "folder" }, "items": [ { "info": { "name": "List feature flags", "type": "http" }, "http": { "method": "GET", "url": "https://api.split.io/internal/api/v2/splits/ws/:workspaceId", "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "The unique identifier of the workspace" }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of results to return per page" }, { "name": "offset", "value": "", "type": "query", "description": "Number of results to skip for pagination" }, { "name": "tags", "value": "", "type": "query", "description": "Filter feature flags by tag names (comma-separated)" } ] }, "docs": "Retrieves all feature flags within the specified workspace. Returns paginated results including flag name, description, traffic type, creation time, and tags." }, { "info": { "name": "Create feature flag", "type": "http" }, "http": { "method": "POST", "url": "https://api.split.io/internal/api/v2/splits/ws/:workspaceId/trafficTypes/:trafficTypeId", "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "The unique identifier of the workspace" }, { "name": "trafficTypeId", "value": "", "type": "path", "description": "The identifier or name of the traffic type for the feature flag" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new feature flag within the specified workspace and traffic type. The flag is created with default treatments of on and off. After creation, a definition must be created in each environment where the flag should be active." }, { "info": { "name": "Get feature flag", "type": "http" }, "http": { "method": "GET", "url": "https://api.split.io/internal/api/v2/splits/ws/:workspaceId/:featureFlagName", "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "The unique identifier of the workspace" }, { "name": "featureFlagName", "value": "", "type": "path", "description": "The name of the feature flag" } ] }, "docs": "Retrieves a single feature flag by its name within the specified workspace. Returns the flag metadata including name, description, traffic type, creation time, and tags." }, { "info": { "name": "Update feature flag", "type": "http" }, "http": { "method": "PUT", "url": "https://api.split.io/internal/api/v2/splits/ws/:workspaceId/:featureFlagName", "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "The unique identifier of the workspace" }, { "name": "featureFlagName", "value": "", "type": "path", "description": "The name of the feature flag" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the metadata of an existing feature flag, such as its description or tags." }, { "info": { "name": "Delete feature flag", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.split.io/internal/api/v2/splits/ws/:workspaceId/:featureFlagName", "params": [ { "name": "workspaceId", "value": "", "type": "path", "description": "The unique identifier of the workspace" }, { "name": "featureFlagName", "value": "", "type": "path", "description": "The name of the feature flag" } ] }, "docs": "Deletes a feature flag from the specified workspace. The flag must first have all its environment definitions removed before it can be deleted." } ] } ], "bundled": true }