Authorizations
Headers
Optional header to respect review settings for mutation endpoints.
Path Parameters
name
Body
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.
The name of the source cannot be changed in this update, ensuring the identity remains consistent.
An optional updated description for the source, providing additional context or changes.
Optional array of tags for categorizing the source, allowing for updates to its categorization.
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.
Optional array defining mappings for custom fields using specific formulas.
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.
{
"ownerID": "user123",
"ownerType": "USER",
"ownerName": "John Doe",
"ownerEmail": "owner123@test.com"
}
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.
Skips persisting updates to the source (used to validate that inputs are correct)