v1

latestOpenAPI 3.1.02026-07-249116259.8 KB

List feature flag definitions in environment

Retrieves the feature flag definitions given an environment.

get/splits/ws/{workspace-id}/environments/{environment-id-or-name}

Path parameters

workspace-idstring required

The ID of the project (workspace) you want to get feature flag definitions from. After migration to Harness, get this value using the Get Projects (Workspaces) endpoint and the Harness project name.

environment-id-or-namestring required

The ID or case-sensitive name of the FME environment you want to get feature flag definitions from

Query parameters

offsetinteger

The offset to retrieve. Useful for pagination.

limitinteger

The maximum feature flags to return per call. Default=20. Max=50.

flag_setsstring

(Optional) An array of IDs of the flag sets you want to filter by. This will allow you to retrieve all feature flags that belong to specific flag sets.

Response

200