Get history of sync logs of a destination
Learn more about the Segmentation Api to get a history of sync logs.
This Activation service API retrieves the history of the synchronization logs for a segment.
Request
GET /api/[env]/[tenant]/destinations/history?segmentUri=[segmentUri]&max=[max]&offset=[offset]
Parameter | Required | Description | |
---|---|---|---|
Headers | Authorization
| Yes | Information about authentication access token in the format "Bearer <accessToken> ". For more information, see Authentication API. |
Request parameter
Parameter | Type | Description |
---|---|---|
segmentUri | String | The segment URI for which you want to retrieve sync logs for destinations. |
max | Number | The maximum number of results to be displayed in a page. |
offset | Number | The offset for pagination. |
Response
Parameter | Type | Description |
---|---|---|
success | boolean | True for success response |
error | Error | Error object for details |
result | SyncEvent[] | Array of sync events |
result[number].id | String | UUID of the history record |
result[number].destinationId | String | UUID of the destination |
result[number].integrationId | String | UUID of the integration |
result[number].success | boolean | The result of the sync. |
result[number].timestamp | Number |
The timestamp of the sync. |
total | Number | The total numbers of history records for a destination. |