Post Entity Property Source
Post Entity Property Source
https://statsigapi.net/console/v1/experiments/entity_property/{name}Authorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Path parameters
namestringrequiredname
Body
application/jsonnamestringOptional new name for the entity property source.
descriptionstringOptional updated context for the entity property source.
tagsstring[]Optional updated tags for categorization.
sqlstringrequiredSQL query defining the data source.
timestampColumnstringOptional column name for timestamp.
timestampAsDaybooleanIndicates if the timestamp is treated as a day.
idTypeMappingobject[]requiredMappings of Statsig units to their columns.
Show child attributes
statsigUnitIDstringrequiredID for the Statsig unit.
columnstringrequiredColumn name linked to the ID.
isReadOnlybooleanSpecifies if the source can only be edited via the Console API.
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 the entity property source (used to validate that inputs are correct)
Response
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
namestringrequiredUnique identifier for the entity property source.
descriptionstringrequiredDetailed context and purpose of the entity property source.
tagsstring[]requiredTags for categorization and search.
sqlstringrequiredSQL query defining the data source.
timestampColumnstringOptional column name for timestamp.
timestampAsDaybooleanIndicates if the timestamp is treated as a day.
idTypeMappingobject[]requiredMappings of Statsig units to their columns.
statsigUnitIDstringrequiredID for the Statsig unit.
columnstringrequiredColumn name linked to the ID.
isReadOnlybooleanSpecifies if the source can only be edited via the Console API.
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.
nullablestatusintegerrequired400messagestringrequiredstatusintegerrequired401messagestringrequiredstatusintegerrequired404messagestringrequiredWas this helpful?