curl --request GET \
--url https://statsigapi.net/console/v1/segments/{id}/id_list \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Segments listed successfully.",
"data": {
"name": "small_id_list",
"count": 3,
"ids": [
"1, 2, 3"
]
}
}
This endpoint is rate limited to 900 requests /15m or 12 requests /10s.
curl --request GET \
--url https://statsigapi.net/console/v1/segments/{id}/id_list \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Segments listed successfully.",
"data": {
"name": "small_id_list",
"count": 3,
"ids": [
"1, 2, 3"
]
}
}
Optional header to respect review settings for mutation endpoints.
IDs read successfully
The response is of type object
.