cURL
curl --request GET \ --url https://statsigapi.net/console/v1/gates/{id}/rules \ --header 'STATSIG-API-KEY: <api-key>'
{ "message": "Gate rules read successfully.", "data": { "rules": [ { "name": "NA", "passPercentage": 90, "conditions": [ { "type": "country", "operator": "any", "targetValue": [ "CA" ] } ], "environment": "production", "id": "LcDWo6mFrWaS3DtoKtEAfg1" } ] } }
Optional header to respect review settings for mutation endpoints.
id
Get gate rules response
A simple string explaining the result of the operation.
Array of results returned by pagination limit.
Show child attributes
Pagination metadata for checking if there is next page for example.
Was this page helpful?