curl --request GET \
--url https://statsigapi.net/console/v1/experiments/assignment_sources \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Entity Property Sources listed successfully.",
"data": [
{
"name": "Exposures",
"description": "",
"tags": [],
"sql": "SELECT * FROM shoppy-sales.experiment_data.exposures",
"timestampColumn": "ts",
"groupIDColumn": "group_id",
"experimentIDColumn": "experiment_name",
"idTypeMapping": [
{
"statsigUnitID": "userID",
"column": "user_id"
},
{
"statsigUnitID": "deviceID",
"column": "device_id"
}
]
}
],
"pagination": {
"itemsPerPage": 1,
"pageNumber": 1,
"totalItems": 13,
"nextPage": "/console/v1/experiments/assignment_sources?page=2&limit=1",
"previousPage": null,
"all": "/console/v1/experiments/assignment_sources"
}
}
curl --request GET \
--url https://statsigapi.net/console/v1/experiments/assignment_sources \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Entity Property Sources listed successfully.",
"data": [
{
"name": "Exposures",
"description": "",
"tags": [],
"sql": "SELECT * FROM shoppy-sales.experiment_data.exposures",
"timestampColumn": "ts",
"groupIDColumn": "group_id",
"experimentIDColumn": "experiment_name",
"idTypeMapping": [
{
"statsigUnitID": "userID",
"column": "user_id"
},
{
"statsigUnitID": "deviceID",
"column": "device_id"
}
]
}
],
"pagination": {
"itemsPerPage": 1,
"pageNumber": 1,
"totalItems": 13,
"nextPage": "/console/v1/experiments/assignment_sources?page=2&limit=1",
"previousPage": null,
"all": "/console/v1/experiments/assignment_sources"
}
}
Optional header to respect review settings for mutation endpoints.
List Assignment Sources response
The response is of type object
.