Feature Gates
Check Feature Gate(s)
Evaluates one or more feature gates for a user and returns pass/fail results. Automatically logs exposure events for analytics.
POST
Documentation Index
Fetch the complete documentation index at: https://docs.statsig.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
SDK API key (Server Secret or Client SDK Key)
Body
application/json
- Option 1
- Option 2
Single gate name to check (use this OR gateNames, not both)
Required string length:
2 - 100Pattern:
^[a-zA-Z0-9_\-. ]+$Array of gate names to check (use this OR gateName, not both)
Required array length:
1 - 100 elementsRequired string length:
2 - 100Pattern:
^[a-zA-Z0-9_\-. ]+$User object containing identification and attributes for evaluation. At minimum, provide at least one identifier.
SDK metadata for tracking SDK type, version, and other diagnostic information
Example:
{
"sdkType": "js-client",
"sdkVersion": "4.20.0",
"exposureLoggingDisabled": false
}
Response
200 - application/json
Gate evaluation result(s)