Update Ingestion Source
Update Ingestion Source
https://statsigapi.net/console/v1/ingestionAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Body
application/jsondatasetstringrequiredMetricsEventsExposuresexport_exposurescolumn_mappingobjectShow child attributes
unit_idstringrequiredThe unique user identifier this metric is for. This might not necessarily be a user_id - it could be a custom_id of some kind. Make sure this is in the same format as your logged unit_ids.
id_typestringrequiredThe id_type the unit_id represents. Must be valid id_type. Default Statsig types are user_id/stable_id, but you may have generated custom id_types. Make sure this matches (case sensitive) a customID in your project, or you won’t get experiment results.
dateidstringrequiredDate of the daily metric, ISO formatted (ex. 2021-02-17). We’ll load custom metrics to whatever date you use here.
metric_namestringrequiredString format. Not null. Length < 128 characters.
metric_valuestringNumeric value for the metric. This OR both of numerator and denominator need to be provided.
nullnumeratorstringRequired for ratio metrics. If present along with a denominator in any record, the metric will be treated as ratio and only calculated for users with non-null denominators
nulldenominatorstringRequired for ratio metrics. If present along with a numerator in any record, the metric will be treated as ratio and only calculated for users with non-null numerators.
nullevent_namestringName of the event. String under 128 characters, using ‘_’ for spaces.
timestampstringUnix timestamp in seconds of the event (ex. 1613584800)
idsobject{}metadataobject{}metadata_objectstringnullevent_valuestringexperimentstringUnique identifier for the experiment.
group_idstringUnique identifier for the experiment groups.
typestringrequiredredshiftbigquery-v2snowflake-v2databricksazure-synapses3athenaadlssource_namestringquerystringsharestringschemastringtablestringenabledbooleanResponse
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
idstringrequiredtypestringrequiredenabledbooleanrequireddataobjectrequiredWas this helpful?