List Segments
https://statsigapi.net/console/v1/segmentsAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Query parameters
limitintegerResults per page
pageintegerPage number
Response
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobject[]requiredShow child attributes
isEnabled[]booleanrequiredIs the segment enabled.
type[]stringrequiredcount[]numberFor id_list segments: the length of the ID list
rules[]object[]Rule Object
name[]stringrequiredThe name of this rule.
passPercentage[]numberrequiredOf the users that meet the conditions of this rule, what percent should return true.
conditions[]object[]requiredAn array of Condition objects.
targetValue[]oneOfoperator[]stringfield[]stringcustomID[]stringtype[]stringrequiredenvironments[]string[]The environments this rule is enabled for.
id[]stringThe Statsig ID of this rule.
baseID[]stringThe base ID of this rule, i.e. without any added metadata. Will remain the exact same throughout
returnValue[]objectThe return value of the rule.
tags[]string[]Optional tags for categorization.
id[]stringrequiredID
name[]stringOptional name for the configuration.
idType[]stringrequiredType of ID
description[]stringrequiredDetailed description of the configuration’s purpose.
lastModifierID[]stringrequiredID of the last modifier.
lastModifiedTime[]numberrequiredTime of the last modification.
lastModifierEmail[]stringrequiredEmail of the last modifier.
lastModifierName[]stringrequiredName of the last modifier.
creatorID[]stringrequiredID of the user who created the entity.
createdTime[]numberrequiredTimestamp when the entity was created.
creatorName[]stringrequiredName of the creator.
creatorEmail[]stringrequiredEmail of the creator.
targetApps[]string[]List of target applications associated with this configuration.
holdoutIDs[]string[]Holdouts applied to this configuration.
team[]stringOptional name for the responsible team.
teamID[]stringOptional ID of the responsible team.
version[]numberVersion number
paginationobjectrequiredPagination metadata for checking if there is next page for example.
statusintegerrequiredmessagestringrequiredWas this helpful?