curl --request GET \
--url https://statsigapi.net/console/v1/experiments/qualifying_events/{name} \
--header 'STATSIG-API-KEY: <api-key>'{
"message": "Qualifying event read successfully.",
"data": {
"name": "test_qualifying_event",
"description": "Test description for qualifying event",
"tags": [
"non_production"
],
"sql": "SELECT * FROM `shoppy-sales.logging.events`",
"timestampColumn": "ts",
"timestampAsDay": true,
"idTypeMapping": [
{
"statsigUnitID": "userID",
"column": "user_id"
}
],
"sourceType": "table",
"tableName": "shoppy-sales.logging.events"
}
}curl --request GET \
--url https://statsigapi.net/console/v1/experiments/qualifying_events/{name} \
--header 'STATSIG-API-KEY: <api-key>'{
"message": "Qualifying event read successfully.",
"data": {
"name": "test_qualifying_event",
"description": "Test description for qualifying event",
"tags": [
"non_production"
],
"sql": "SELECT * FROM `shoppy-sales.logging.events`",
"timestampColumn": "ts",
"timestampAsDay": true,
"idTypeMapping": [
{
"statsigUnitID": "userID",
"column": "user_id"
}
],
"sourceType": "table",
"tableName": "shoppy-sales.logging.events"
}
}Optional header to respect review settings for mutation endpoints.
name
Read Qualifying Event response
A simple string explaining the result of the operation.
A single result.
Show child attributes
The name of the source, serving as its primary identifier.
A detailed description of the source, providing context and usage information.
The SQL query or statement used to extract data from the source.
The name of the column containing timestamp data for the source.
Array defining the mapping between Statsig unit IDs and their respective source columns.
Optional tags for categorizing the source and improving searchability.
Indicates whether the timestamp should be treated as a day-level granularity.
The type of source, indicating whether it is a database table or a custom query.
table, query The name of the database table if the source type is "table".
The name of the date partition column if the source type is "table". Can be undefined.
Specifies if the source can only be edited via the Console API.
Marks the metric source as verified, indicating trustworthiness within the organization.
false
Schema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
Show child attributes
ID of the owner
"abc123"
Type of the owner (e.g., SDK_KEY or USER)
"USER"
The name of the owner. This field is optional.
"John Doe"
The email of the owner. This field is optional.
{
"ownerID": "user123",
"ownerType": "USER",
"ownerName": "John Doe",
"ownerEmail": "[email protected]"
}Optional field indicating the team name responsible for the metric, aiding in accountability and management.
Optional field indicating the team ID responsible for the metric, aiding in accountability and management.
Was this page helpful?