Get Layer Overrides

Reference for the GET /console/v1/layers/{id}/overrides endpoint of the Statsig API.

gethttps://statsigapi.net/console/v1/layers/{id}/overrides

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Path parameters

idstringrequired

id

Response

application/json
200· Get Layer Overrides Success
messagestringrequired

A simple string explaining the result of the operation.

dataobjectrequired
Show child attributes
conditionalOverridesobject[]required
typestringrequired

Describes whether layer override is segment or gate

namestringrequired

Name of override entity

experimentNamestringrequired
groupNamestringrequired
environmentstring

Optional environment scope (e.g. production, staging). Omit or pass null to target the all-environments bucket.

Constraints:nullable
idOverridesobject[]required
groupNamestringrequired

Group that ID is overriden into

idsstring[]required

ID being overriden into a particular group

idTypestring
Constraints:nullable
environmentstring
Constraints:nullable
experimentNamestring
Constraints:nullable
401· This endpoint only accepts an active CONSOLE key, but an invalid key was sent. Key: console-xxxXXXxxxXXXxxx
statusintegerrequired
Allowed values:401
messagestringrequired
404· Layer not found.
statusintegerrequired
Allowed values:404
messagestringrequired

Was this helpful?