v1

latestOpenAPI 3.0.42026-08-04342835917.6 KB
Audience

Returns the audience state recalculation with the given id.

get/audience/state-recalculation/{recalculationId}

Path parameters

recalculationIdstring required

The unique identifier of the recalculation.

Response

OK

idstring required

The unique identifier of the recalculation.

audienceIdstring required

The audience this recalculation belongs to.

state'Pending' | 'Processing' | 'Completed' | 'Failed' | 'Aborted' required
phase'RecalculatingUsers' | 'Finalizing' | 'Done' required
lastProcessedUserIdstring nullable

The id of the last user that was processed (progress cursor).

processedCountinteger required

The number of users processed so far.

changedCountinteger required

The number of users whose state was changed by the recalculation.

errorMessagestring nullable

Error message populated when the recalculation transitioned to Failed.

startedAtstring date-time nullable

When the recalculation began processing (null while still Pending).

lastHeartbeatAtstring date-time nullable

Timestamp of the last heartbeat received from the worker.

completedAtstring date-time nullable

When the recalculation reached a terminal state (Completed, Failed, Aborted).

createdAtstring date-time required

When the recalculation was created.