List Segmentation Sessions
Retrieves all active segmentation sessions, once a session is deleted it will no longer appear here.
Notes
- The
idfrom each session entry is thesession-idused in all/{session-id}/*endpoints. - Sessions are returned in no guaranteed order; use
GET /{session-id}/statusto check the current lifecycle state of a specific session. - Returns 200 on success.
Successfully retrieved list of segmentation session Ids
{
"sessions": [
{
"action": "NONE",
"_create_user": "admin",
"_create_time": 1781138986293,
"_last_modified_user": "admin",
"_last_modified_time": 1781138986293,
"_revision": 0,
"id": "f4a7eb15-43c4-44cb-ac5c-8a5d5c15235b",
"display_name": "session_f4a7eb15-43c4-44cb-ac5c-8a5d5c15235b",
"site_ids": [],
"status": {
"status": "FILE_VALIDATED",
"progress_percent": 0,
"error_messages": [],
"parsing_error_count": 0
},
"output_files": [
{
"file_name": "sample-asset-file.csv"
}
]
}
]
}
List of segmentation sessions
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unexpected error
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -H 'Authorization: <value>' https://{api_host}/ssp/segmentation