Get Layers
https://statsigapi.net/console/v1/layersAuthorizations
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
id[]stringrequiredID
name[]stringOptional name for the configuration.
idType[]stringrequiredThe ID type used for this layer, important for validation.
description[]stringrequiredA detailed description of the layer, explaining its purpose and functionality.
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.
tags[]string[]Optional tags for categorization.
targetApps[]oneOfList of target applications that this layer is intended for.
holdoutIDs[]string[]Holdouts applied to this configuration.
team[]stringOptional name for the responsible team.
teamID[]stringOptional ID of the responsible team.
version[]numberVersion number
isImplicitLayer[]booleanrequiredIndicates if the layer was automatically created by Statsig during experiment creation.
parameters[]object[]requiredAn array of parameters associated with the layer, each defining specific attributes.
Show child attributes
name[]stringrequiredThe name of this parameter, used for identification within the layer.
type[]stringrequiredThe data type that this parameter returns. Allowed types include: string, boolean, number, object, and array.
defaultValue[]oneOfrequiredThe default value for this parameter, which must match the specified type.
description[]stringAn optional helpful description of what this layer parameter does, providing context for its purpose.
schema[]stringOptional JSON schema for object parameters. If provided, defaultValue must satisfy the schema.
targeting_gate_parameter_values[]object[]requiredParameter values returned when a targeting gate passes during ship-with-targeting.
Show child attributes
targetingGateName[]stringrequiredThe name of the targeting gate for these shipped values.
parameters[]objectrequiredLayer parameter values returned when the targeting gate passes.
holdout_parameter_values[]object[]requiredHoldout-specific parameter values for this layer.
Show child attributes
holdoutID[]stringrequiredThe ID of the holdout for these layer parameter values.
parameters[]objectrequiredLayer parameter values returned when the holdout gate passes.
excludeNewParams[]booleanrequiredWhether newly added layer parameters should be excluded from this holdout edge.
permalink[]stringrequiredA permalink to this layer in the Statsig Console.
paginationobjectrequiredPagination metadata for checking if there is next page for example.
statusintegerrequiredmessagestringrequiredstatusintegerrequiredmessagestringrequiredWas this helpful?