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
A simple string explaining the result of the operation.
Array of results returned by pagination limit.
Show child attributes
Unique identifier for the assignment source.
Detailed context and purpose of the assignment source.
Tags for categorization and search.
SQL query defining the data source for assignments.
Column name representing the timestamp of assignments.
Column name for the experiment ID associated with the assignments.
Column name for the group ID linked to the assignments.
Marks the assignment source as verified for internal trustworthiness.
Specifies if the source can only be edited via the Console API.
Schema for owner data including ID, type, name. Note that if Entity is created by CONSOLE API, owner will be undefined.
Show child attributes
ID of the owner
"abc123"
Type of the owner (e.g., SDK_KEY or USER)
"USER"
The name of the owner. This field is optional.
"John Doe"
The email of the owner. This field is optional.
{
"ownerID": "user123",
"ownerType": "USER",
"ownerName": "John Doe",
"ownerEmail": "[email protected]"
}Optional field indicating the team name responsible for the metric, aiding in accountability and management.
Optional field indicating the team ID responsible for the metric, aiding in accountability and management.
Optional field indicating what UTC hour to run a scheduled scan for the assignment source.
0 <= x <= 23Pagination metadata for checking if there is next page for example.
Was this page helpful?