Update Qualifying Event
Update Qualifying Event
https://statsigapi.net/console/v1/experiments/qualifying_events/{name}Authorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Path parameters
namestringrequiredname
Body
application/jsonnameunknownThe name of the source cannot be changed in this update, ensuring the identity remains consistent.
descriptionstringAn optional updated description for the source, providing additional context or changes.
tagsstring[]Optional array of tags for categorizing the source, allowing for updates to its categorization.
sqlstringrequiredThe SQL query or statement used to extract data from the source.
timestampColumnstringrequiredThe name of the column containing timestamp data for the source.
timestampAsDaybooleanIndicates whether the timestamp should be treated as a day-level granularity.
idTypeMappingobject[]requiredArray defining the mapping between Statsig unit IDs and their respective source columns.
Show child attributes
statsigUnitIDstringrequiredThe identifier mapping for Statsig units.
columnstringrequiredThe corresponding column name in the source that relates to the Statsig unit ID.
sourceTypestringThe type of source, indicating whether it is a database table or a custom query.
tablequerytableNamestringThe name of the database table if the source type is "table".
datePartitionColumnstringThe name of the date partition column if the source type is "table". Can be undefined.
customFieldMappingobject[]Optional array defining mappings for custom fields using specific formulas.
Show child attributes
keystringrequiredThe identifier for the custom field mapping.
formulastringrequiredThe formula or expression used to compute the custom field value.
isReadOnlybooleanSpecifies if the source can only be edited via the Console API.
isVerifiedbooleanMarks the metric source as verified, indicating trustworthiness within the organization.
falsedisableCUREbooleanDisable CURE for all metrics built from this metric source
ownerobjectSchema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
{"ownerID":"user123","ownerType":"USER","ownerName":"John Doe","ownerEmail":"owner123@test.com"}nullableShow child attributes
ownerIDstringID of the owner
abc123ownerTypestringType of the owner (e.g., SDK_KEY or USER)
USERownerNamestringThe name of the owner. This field is optional.
John DoeownerEmailstringThe email of the owner. This field is optional.
teamstringOptional field indicating the team name responsible for the metric, aiding in accountability and management.
nullableteamIDstringOptional field indicating the team ID responsible for the metric, aiding in accountability and management.
nullabledryRunbooleanSkips persisting updates to the source (used to validate that inputs are correct)
skip_validationbooleanSkips running SQL validation for the source. Requires all_columns and column_types when true. Availability is gated.
all_columnsstring[]Column names to persist when skip_validation is true. Optional otherwise.
column_typesstring[]Column types aligned with all_columns when skip_validation is true. Optional otherwise.
Response
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
namestringrequiredThe name of the source, serving as its primary identifier.
descriptionstringrequiredA detailed description of the source, providing context and usage information.
tagsstring[]Optional tags for categorizing the source and improving searchability.
sqlstringrequiredThe SQL query or statement used to extract data from the source.
timestampColumnstringrequiredThe name of the column containing timestamp data for the source.
timestampAsDaybooleanIndicates whether the timestamp should be treated as a day-level granularity.
idTypeMappingobject[]requiredArray defining the mapping between Statsig unit IDs and their respective source columns.
statsigUnitIDstringrequiredThe identifier mapping for Statsig units.
columnstringrequiredThe corresponding column name in the source that relates to the Statsig unit ID.
sourceTypestringThe type of source, indicating whether it is a database table or a custom query.
tablequerytableNamestringThe name of the database table if the source type is "table".
datePartitionColumnstringThe name of the date partition column if the source type is "table". Can be undefined.
customFieldMappingobject[]Optional array defining mappings for custom fields using specific formulas.
keystringrequiredThe identifier for the custom field mapping.
formulastringrequiredThe formula or expression used to compute the custom field value.
isReadOnlybooleanSpecifies if the source can only be edited via the Console API.
isVerifiedbooleanMarks the metric source as verified, indicating trustworthiness within the organization.
falsedisableCUREbooleanDisable CURE for all metrics built from this metric source
ownerobjectSchema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
{"ownerID":"user123","ownerType":"USER","ownerName":"John Doe","ownerEmail":"owner123@test.com"}nullableownerIDstringID of the owner
abc123ownerTypestringType of the owner (e.g., SDK_KEY or USER)
USERownerNamestringThe name of the owner. This field is optional.
John DoeownerEmailstringThe email of the owner. This field is optional.
teamstringOptional field indicating the team name responsible for the metric, aiding in accountability and management.
nullableteamIDstringOptional field indicating the team ID responsible for the metric, aiding in accountability and management.
nullablestatusintegerrequired400messagestringrequiredstatusintegerrequired401messagestringrequiredWas this helpful?