Events
Log Custom Exposure Events
Manually logs exposure events for experiments or feature gates. Useful for analytics-only experiments, delayed exposure logging, or when automatic exposure logging is disabled.
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
Array of exposure events to log
Minimum array length:
1- Option 1
- Option 2
- Option 3
- Option 4
Shared user object for all exposures
SDK metadata for tracking SDK type, version, and other diagnostic information
Example:
{
"sdkType": "js-client",
"sdkVersion": "4.20.0",
"exposureLoggingDisabled": false
}Response
202 - application/json
Exposures accepted for processing
Whether the request was successful