curl --request GET \
--url https://statsigapi.net/console/v1/experiments/entity_properties \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Entity Property Sourcess listed successfully.",
"data": [
{
"name": "Segmentation Models",
"description": "",
"tags": [
"★ Core",
"Growth"
],
"sql": "SELECT\n user_id, ds, spend_segment\nFROM shoppy-sales.setup.segments",
"timestampColumn": "ds",
"timestampAsDay": true,
"idTypeMapping": [
{
"statsigUnitID": "userID",
"column": "user_id"
}
]
}
],
"pagination": {
"itemsPerPage": 1,
"pageNumber": 1,
"totalItems": 5,
"nextPage": "/console/v1/experiments/entity_properties?page=2&limit=1",
"previousPage": null,
"all": "/console/v1/experiments/entity_properties"
}
}
curl --request GET \
--url https://statsigapi.net/console/v1/experiments/entity_properties \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Entity Property Sourcess listed successfully.",
"data": [
{
"name": "Segmentation Models",
"description": "",
"tags": [
"★ Core",
"Growth"
],
"sql": "SELECT\n user_id, ds, spend_segment\nFROM shoppy-sales.setup.segments",
"timestampColumn": "ds",
"timestampAsDay": true,
"idTypeMapping": [
{
"statsigUnitID": "userID",
"column": "user_id"
}
]
}
],
"pagination": {
"itemsPerPage": 1,
"pageNumber": 1,
"totalItems": 5,
"nextPage": "/console/v1/experiments/entity_properties?page=2&limit=1",
"previousPage": null,
"all": "/console/v1/experiments/entity_properties"
}
}
Optional header to respect review settings for mutation endpoints.
List Entity Property Sources response
The response is of type object
.