Create Ingestion Source
Create Ingestion Source
post
https://statsigapi.net/console/v1/ingestionAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Body
application/jsondatasetstringrequiredAllowed values:
Exposuresexport_exposurescolumn_mappingobjectShow child attributes
experimentstringrequiredUnique identifier for the experiment.
group_idstringrequiredUnique identifier for the experiment groups.
unit_idstringThe unique user identifier this exposure is for. This might not necessarily be a single column for userID - it could be spread across multiple columns for deviceID etc.
timestampstringrequiredUnix timestamp in seconds of the event (ex. 1613584800)
idsobjectrequiredDefault:
{}metadataobjectDefault:
{}metadata_objectstringDefault:
nullevent_valuestringDefault:
typestringrequiredAllowed values:
redshiftbigquery-v2snowflake-v2databricksazure-synapses3athenaadlssource_namestringrequireduse_delta_sharingbooleanAllowed values:
trueOther properties5
querystringsharestringschemastringtablestringenabledbooleanResponse
application/json200· Create Ingestion Success
messagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
idstringrequiredtypestringrequiredenabledbooleanrequireddataobjectrequired400· Invalid request. Please check the request input and try again.
statusintegerrequiredAllowed values:
400messagestringrequired404· Not Found. The requested resource could not be found.
statusintegerrequiredAllowed values:
404messagestringrequiredWas this helpful?