mcp

GET /api/v1/environments/{environment_pk}/features/{feature_pk}/versions/

Retrieves version information for a feature flag in a specific environment. Applies to environments with v2 feature versioning (use_v2_feature_versioning: true).

Request

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

Path parameters

environment_pkinteger required
feature_pkinteger required

Query parameters

pageinteger

A page number within the paginated result set.

page_sizeinteger

Number of results to return per page.

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"
}

Changes

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