Skip to content
Docs

list_flags

List flags.

ParameterTypeRequiredDescription
projectIdOrNamestringYesThe project id or name
statestringNoThe state of the flags to retrieve. Defaults to active. Allowed values: "active", "archived".
withMetadatabooleanNoDeprecated. 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. Use GET /v1/projects/:id/feature-flags/flags/:flagIdOrSlug?withMetadata=true for single-flag lookups that need creator metadata.
limitintegerNoMaximum number of flags to return. When not set, all flags are returned. Minimum: 1. Maximum: 100.
cursorstringNoPagination cursor to continue from.
searchstringNoSearch flags by their slug or description. Case-insensitive.
tagsArray<string>NoFilter flags by tag. Repeat the parameter for multiple tags (all must match).
teamIdstringNoTeam ID to use for this operation.
slugstringNoTeam slug to use for this operation. Use instead of teamId.

Was this helpful?

supported.