Skip to content

ADAS07 - Get segment population import status

Request

Path
trackingIdstringrequired

A unique identifier assigned to monitor the import completion.

curl -i -X GET \
  'https://retailmedia.mirakl.net/api/v1/audiences/segments/population/status/{trackingId}'

Responses

OK

Bodyapplication/json
duplicated_user_key_countinteger, (int64)required

The number of duplicated user keys found during import

error_messagestring

Error message if the import failed

imported_user_key_countinteger, (int64)required

The number of user keys imported

line_countinteger, (int64)required

The number of lines processed

previous_import_datestring, (date-time)required

The date and time when the previous import was performed for the same segment

previous_imported_user_key_countinteger, (int64)required

The number of user keys imported during previous import for the same segment

segment_idstringrequired

Segment identifier

statusstringrequired

The current state of the tracked segment population import task

Enum: "PENDING", "RUNNING", "FAILED", "COMPLETED", "SKIPPED"

tracking_idstringrequired

A unique identifier assigned to monitor the import completion

user_key_error_countinteger, (int64)required

The number of user keys that having errors during import

Response
{ "duplicated_user_key_count": 0, "imported_user_key_count": 1000, "line_count": 1000, "previous_import_date": "2026-01-10T14:30:22Z", "previous_imported_user_key_count": 980, "segment_id": "FASHIONISTA_01", "status": "COMPLETED", "tracking_id": "d249daed-5d95-69bg-0d68-0chf45fe5027", "user_key_error_count": 0 }