Patch Assignment Source
https://statsigapi.net/console/v1/experiments/assignment_source/{name}Authorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Path parameters
namestringrequiredName of the assignment source
Body
application/jsonnamestringUnique identifier for the assignment source.
descriptionstringDetailed context and purpose of the assignment source.
isVerifiedbooleanMarks the assignment source as verified for internal trustworthiness.
tagsstring[]Tags for categorization and search.
sqlunknownSQL query defining the data source for assignments.
timestampColumnstringColumn name representing the timestamp of assignments.
experimentIDColumnstringColumn name for the experiment ID associated with the assignments.
groupIDColumnstringColumn name for the group ID linked to the assignments.
groupNameColumnstringOptional column name for the group name linked to the assignments.
idTypeMappingobject[]Mappings of Statsig units to their respective columns.
Show child attributes
statsigUnitID[]stringrequiredID for the Statsig unit.
column[]stringrequiredColumn name associated with the ID type mapping.
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.
Show child attributes
ownerIDstringID of the owner
ownerTypestringType of the owner (e.g., SDK_KEY or USER)
ownerNamestringThe name of the owner. This field is optional.
ownerEmailstringThe email of the owner. This field is optional.
teamstringOptional field indicating the team name responsible for the metric, aiding in accountability and management.
teamIDstringOptional field indicating the team ID responsible for the metric, aiding in accountability and management.
scheduledReloadHourintegerOptional field indicating what UTC hour to run a scheduled scan for the assignment source.
dryRunbooleanSkips persisting the assignment 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 assignment source.
descriptionstringrequiredDetailed context and purpose of the assignment source.
isVerifiedbooleanMarks the assignment source as verified for internal trustworthiness.
tagsstring[]requiredTags for categorization and search.
sqlstringrequiredSQL query defining the data source for assignments.
timestampColumnstringrequiredColumn name representing the timestamp of assignments.
experimentIDColumnstringrequiredColumn name for the experiment ID associated with the assignments.
groupIDColumnstringrequiredColumn name for the group ID linked to the assignments.
groupNameColumnstringOptional column name for the group name linked to the assignments.
idTypeMappingobject[]requiredMappings of Statsig units to their respective columns.
Show child attributes
statsigUnitID[]stringrequiredID for the Statsig unit.
column[]stringrequiredColumn name associated with the ID type mapping.
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.
Show child attributes
ownerIDstringID of the owner
ownerTypestringType of the owner (e.g., SDK_KEY or USER)
ownerNamestringThe name of the owner. This field is optional.
ownerEmailstringThe email of the owner. This field is optional.
teamstringOptional field indicating the team name responsible for the metric, aiding in accountability and management.
teamIDstringOptional field indicating the team ID responsible for the metric, aiding in accountability and management.
scheduledReloadHourintegerOptional field indicating what UTC hour to run a scheduled scan for the assignment source.
statusintegerrequiredmessagestringrequiredstatusintegerrequiredmessagestringrequiredstatusintegerrequiredmessagestringrequiredWas this helpful?