Skip to content
Docs

get_flag_segment

Retrieve a feature flag segment by ID or slug.

ParameterTypeRequiredDescription
projectIdOrNamestringYesThe project id or name
segmentIdOrSlugstringYesThe segment slug
withMetadatabooleanNoWhether to include metadata Default: false.
teamIdstringNoTeam ID to use for this operation.
slugstringNoTeam slug to use for this operation. Use instead of teamId.

Was this helpful?

supported.