Audit Overrides
Returns overrides across all gates, holdouts, experiments, and layers in the project. Provide userId (optionally with idType ) to audit everywhere a single u…
Returns overrides across all gates, holdouts, experiments, and layers in the project. Provide userId (optionally with idType) to audit everywhere a single unit ID is overridden; omit it to export every override. Each section only lists entities that have matching overrides.
https://statsigapi.net/console/v1/overridesAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Query parameters
userIdstringUnit ID to audit. When provided, the response only includes entities that override this ID, narrowed to the matching ID. When omitted, every override across all entities is returned.
user-123idTypestringThe unit ID type that userId refers to (e.g. 'userID', 'stableID', or a custom unit ID type). Accepts snake_case or camelCase. Defaults to 'userID'. Ignored when userId is omitted.
userIDResponse
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredOverrides grouped by entity type. Each section only lists entities that have (matching) overrides.
Show child attributes
gatesobject[]requiredFeature gates with matching overrides.
idstringrequiredEntity identifier (name)
my_gatenamestringrequiredEntity display name
My GatepassingUserIDsstring[]requiredList of user IDs
["user123","user456","user789"]failingUserIDsstring[]requiredList of user IDs
["user123","user456","user789"]passingCustomIDsstring[]Optional list of custom IDs
["custom123","custom456"]failingCustomIDsstring[]Optional list of custom IDs
["custom123","custom456"]environmentOverridesobject[]requiredenvironmentstringEnvironment
stagingnullableunitIDstringrequiredUnit ID
unit123nullablepassingIDsstring[]requiredList of passing IDs
["id1","id2"]failingIDsstring[]requiredList of failing IDs
["id3","id4"]holdoutsobject[]requiredHoldouts with matching overrides.
idstringrequiredEntity identifier (name)
my_gatenamestringrequiredEntity display name
My GatepassingUserIDsstring[]requiredList of user IDs
["user123","user456","user789"]failingUserIDsstring[]requiredList of user IDs
["user123","user456","user789"]passingCustomIDsstring[]Optional list of custom IDs
["custom123","custom456"]failingCustomIDsstring[]Optional list of custom IDs
["custom123","custom456"]environmentOverridesobject[]requiredenvironmentstringEnvironment
stagingnullableunitIDstringrequiredUnit ID
unit123nullablepassingIDsstring[]requiredList of passing IDs
["id1","id2"]failingIDsstring[]requiredList of failing IDs
["id3","id4"]experimentsobject[]requiredExperiments with matching overrides.
idstringrequiredEntity identifier (name)
my_gatenamestringrequiredEntity display name
My Gateoverridesobject[]requiredArray of experiment overrides, each specifying type, ID, and group ID.
typestringrequiredgatesegmentidstringrequiredThe id of the segment or gate
groupIDstringrequiredThe experiment group which user will be forced into
environmentstringOptional environment designation (e.g., production, staging) for the experiment.
nullableuserIDOverridesobject[]requiredArray of user ID overrides, specifying which users to force into experiment groups.
groupIDstringrequiredThe experiment group the user will be forced into.
idsstring[]requiredArray of user IDs to be assigned to the specified experiment group.
environmentstringOptional environment designation (e.g., production, staging) for the experiment.
nullableunitTypestringOptional type of unit for the experiment, defining the scope of the override.
nullablelayersobject[]requiredLayers with matching overrides.
idstringrequiredEntity identifier (name)
my_gatenamestringrequiredEntity display name
My GateconditionalOverridesobject[]requiredtypestringrequiredDescribes whether layer override is segment or gate
namestringrequiredName of override entity
experimentNamestringrequiredgroupNamestringrequiredenvironmentstringOptional environment scope (e.g. production, staging). Omit or pass null to target the all-environments bucket.
nullableidOverridesobject[]requiredgroupNamestringrequiredGroup that ID is overriden into
idsstring[]requiredID being overriden into a particular group
idTypestringnullableenvironmentstringnullableexperimentNamestringnullablestatusintegerrequired400messagestringrequiredstatusintegerrequired401messagestringrequiredWas this helpful?