Read Gate Rules

Reference for the GET /console/v1/gates/{id}/rules endpoint of the Statsig API.

gethttps://statsigapi.net/console/v1/gates/{id}/rules

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Path parameters

idstringrequired

id

Response

application/json
200· Get gate rules response
messagestringrequired

A simple string explaining the result of the operation.

dataobject[]required
Show child attributes
rulesobject[]required

Gate Rules

paginationobjectrequired

Pagination metadata for checking if there is next page for example.

Show child attributes
itemsPerPagenumberrequired
Constraints:format: double
pageNumbernumberrequired
Constraints:format: double
nextPagestringrequired
Constraints:nullable
previousPagestringrequired
Constraints:nullable
totalItemsnumber
Constraints:format: double
allstring

Was this helpful?