Evaluates one or more feature gates for a user and returns pass/fail results. Automatically logs exposure events for analytics.
Documentation Index
Fetch the complete documentation index at: https://statsig-4b2ff144-mintlify-seo-metadata-1777910999.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
SDK API key (Server Secret or Client SDK Key)
Single gate name to check (use this OR gateNames, not both)
2 - 100^[a-zA-Z0-9_\-. ]+$Array of gate names to check (use this OR gateName, not both)
1 - 100 elements2 - 100^[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
{
"sdkType": "js-client",
"sdkVersion": "4.20.0",
"exposureLoggingDisabled": false
}Gate evaluation result(s)