GET
/
console
/
v1
/
segments
/
{id}
/
id_list
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"
    ]
  }
}

Authorizations

STATSIG-API-KEY
string
header
required

Headers

x-respect-review-settings
string

Optional header to respect review settings for mutation endpoints.

Path Parameters

id
string
required

Query Parameters

limit
integer

Results per page

Example:

10

page
integer

Page number

Example:

1

Response

200 - application/json
IDs read successfully
message
string
required

A simple string explaining the result of the operation.

data
any
pagination
object
required

Pagination metadata for checking if there is next page for example.