Get Segmentation Session Status
Retrieves detailed real-time status information for a segmentation session. This endpoint provides the current status, progress, and any errors without returning the full session object. Use this for polling or monitoring session progress.
Notes
- Polling states for the session are
FILE_VALIDATING,FILE_PARSING,ANALYSIS_PENDING,ANALYSIS_IN_PROGRESS - Refer to
PUT /segmentation/{session-id}/for details on expected state transitions and actions. - Returns 200 on success
Unique identifier of the segmentation session
Successfully retrieved session status
{
"status": "ANALYSIS_PENDING",
"progress_percent": 5,
"error_messages": [],
"parsing_error_count": 0
}
Current status of the segmentation session.
- FILE_VALIDATING: CSV file is being validated
- FILE_VALIDATE_ERROR: CSV file validation failed
- FILE_VALIDATED: CSV file successfully validated
- FILE_READY_TO_PARSE: File is ready for parsing
- FILE_PARSING: File is being parsed
- FILE_PARSING_ERROR: File parsing failed
- FILE_PARSED: File successfully parsed
- ANALYSIS_PENDING: Analysis is queued but not started
- ANALYSIS_IN_PROGRESS: Analysis is currently running
- ANALYSIS_ERROR: Analysis encountered an error
- ANALYSIS_SUCCESS: Analysis completed successfully
Progress percentage of current operation (0-100)
List of error messages if session encountered issues
Count of rows that encountered errors during CSV parsing
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/{session-id}/status