feature-flags

List all flags for a team

Changed on

Retrieve all feature flags for a team across all projects. The list can be filtered by state and supports pagination.

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

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v1/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.

withMetadataboolean

Deprecated. Whether to include creator metadata in each flag in the response. Resolve creator identity client-side (e.g. via the team members endpoint) instead; this parameter will be removed in a future release.

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).

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