mcp

GET /api/v1/projects/{id}/environments/

Retrieves all environments configured for the specified project.

Request

  • Base URL
    https://api.flagsmith.com
  • Auth
    • API key in header Authorization
    • or API key in header Authorization

Path parameters

idinteger required

A unique integer value identifying this project.

Response

idinteger
uuidstring uuid
namestring required
organisationinteger required
hide_disabled_flagsboolean

If true will exclude flags from SDK which are disabled

enable_dynamo_dbboolean

If true will sync environment data with dynamodb and allow access to dynamodb identities

migration_statusstring

Edge migration status of the project; can be one of: MIGRATION_SCHEDULED, MIGRATION_COMPLETED, MIGRATION_IN_PROGRESS, MIGRATION_NOT_STARTED, NOT_APPLICABLE

use_edge_identitiesboolean
prevent_flag_defaultsboolean

Prevent defaults from being set in all environments when creating a feature.

enable_realtime_updatesboolean

Enable this to trigger a realtime(sse) event whenever the value of a flag changes

only_allow_lower_case_feature_namesboolean

Used by UI to validate feature names

feature_name_regexstring nullable

Used for validating feature names

show_edge_identity_overrides_for_featureboolean
stale_flags_limit_daysinteger

Number of days without modification in any environment before a flag is considered stale.

edge_v2_migration_status'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETE' | 'INCOMPLETE'

[Edge V2 migration] Project migration status. Set to IN_PROGRESS to trigger migration start.

  • NOT_STARTED - Not Started
  • IN_PROGRESS - In Progress
  • COMPLETE - Complete
  • INCOMPLETE - Incomplete (identity overrides skipped)
minimum_change_request_approvalsinteger nullable
enforce_feature_ownersboolean

Require at least one user or group owner when creating a feature.

Changes

No recorded changes to this operation across all 21 revisions of this API.