Create Ingestion Source

Create Ingestion Source

posthttps://statsigapi.net/console/v1/ingestion

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Body

application/json
datasetstringrequired
Allowed values:Exposuresexport_exposures
column_mappingobject
Show child attributes
experimentstringrequired

Unique identifier for the experiment.

group_idstringrequired

Unique identifier for the experiment groups.

unit_idstring

The 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.

timestampstringrequired

Unix timestamp in seconds of the event (ex. 1613584800)

idsobjectrequired
Default:{}
metadataobject
Default:{}
metadata_objectstring
Default:null
event_valuestring
Default:
typestringrequired
Allowed values:redshiftbigquery-v2snowflake-v2databricksazure-synapses3athenaadls
source_namestringrequired
use_delta_sharingboolean
Allowed values:true
Other properties5
querystring
sharestring
schemastring
tablestring
enabledboolean

Response

application/json
200· Create Ingestion Success
messagestringrequired

A simple string explaining the result of the operation.

dataobjectrequired
Show child attributes
idstringrequired
typestringrequired
enabledbooleanrequired
dataobjectrequired
400· Invalid request. Please check the request input and try again.
statusintegerrequired
Allowed values:400
messagestringrequired
404· Not Found. The requested resource could not be found.
statusintegerrequired
Allowed values:404
messagestringrequired

Was this helpful?