feature-flags

List all flags for a team

Changed on

Retrieve all feature flags for a team across all projects. Returns an opaque cursor for pagination.

get/v2/teams/{teamId}/feature-flags/flags

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v2/teams/{teamId}/feature-flags/flags
  • Auth: HTTP bearer

Path parameters

teamIdstring required
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

Query parameters

state'active' | 'archived'

The state of the flags to retrieve. Defaults to active.

limitinteger

Maximum number of flags to return.

cursorstring

Pagination cursor to continue from.

searchstring

Search flags by their slug or description. Case-insensitive.

kind'boolean' | 'string' | 'number' | 'json'

The kind of flags to retrieve.

tagsstring[]

Filter flags by tag. Repeat the parameter for multiple tags (all must match).

createdBystring

Filter flags by the id of the entity that created them (a user or team id).

maintainerIdsstring[]

Filter flags by maintainer user id. Repeat the parameter for multiple maintainers (any may match).

includeMarketplaceFlagsboolean

Whether to include Marketplace experimentation items in the paginated response. Defaults to false.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Response

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property ////////// to the response with the status

    • info

      added the optional property //////////// to the response with the status