v4

latestOpenAPI 3.1.0BSD-3-Clauseraw.githubusercontent.com2026-08-0154110202.6 KB
mcp

Lists a project's feature flags (paginated). Pass environment=<id> to also get each feature's live state for that environment in environment_feature_state, along with override counts. Works for both v1 and v2 versioned environments.

get/api/v1/projects/{project_pk}/features/

Path parameters

project_pkinteger required

Changing the project selected will remove previous Feature States for the previously associated projects Environments that are related to this Feature. New default Feature States will be created for the new selected projects Environments for this Feature. Also this will remove any Tags associated with a feature as Tags are Project defined

Query parameters

environmentinteger

Integer ID of the environment to view features in the context of.

group_ownersstring

Comma separated list of group owner ids to filter on

identitystring

ID of the identity to sort features with identity overrides first.

is_archivedboolean
is_enabledboolean nullable

Boolean value to filter features as enabled or disabled.

lifecycle_stage'new' | 'live' | 'stale' | 'permanent' | 'needs_monitoring' | 'to_remove'

Lifecycle stage to filter on. Requires environment.

  • new - new
  • live - live
  • stale - stale
  • permanent - permanent
  • needs_monitoring - needs_monitoring
  • to_remove - to_remove
ownersstring

Comma separated list of owner ids to filter on

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

searchstring
segmentinteger

Integer ID of the segment to retrieve segment overrides for.

sort_direction'ASC' | 'DESC'
  • ASC - ASC
  • DESC - DESC
sort_field'created_date' | 'name'
  • created_date - created_date
  • name - name
tag_strategy'UNION' | 'INTERSECTION'
  • UNION - UNION
  • INTERSECTION - INTERSECTION
tagsstring

Comma separated list of tag ids to filter on (AND with INTERSECTION, and OR with UNION via tag_strategy)

type'STANDARD' | 'MULTIVARIATE'

Feature type to filter on (STANDARD or MULTIVARIATE).

  • STANDARD - STANDARD
  • MULTIVARIATE - MULTIVARIATE
value_searchstring

Value of type int, string, or boolean to filter features based on their values

Response

countinteger required
nextstring uri nullable
previousstring uri nullable

Example response

{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2"
}