Export Sync Logs
Starts an asynchronous job that packages the log files for a single bulk sync execution into a downloadable archive.
📘 Log export is asynchronous
This endpoint starts a background job that packages an execution’s log files into a downloadable archive. The first call typically returns a
jobdescriptor instead of a completed result. PollGET /api/jobs/exportlogs/{id}with the returnedjob_iduntilstatusisdone; the final response contains a signedurlthat can be used to download the archive.Set
notify=trueto also email the requesting user when the archive is ready.
Authentication
AuthorizationBearer
Bearer user API key
OR
AuthorizationBasic
Basic organization-scoped API key
Path parameters
sync_id
Unique identifier of the bulk sync
execution_id
Unique identifier of the execution whose logs should be exported
Headers
X-Polytomic-Version
Query parameters
notify
Send a notification to the user when the logs are ready for download.
Response
OK
data
The exported log archive, with an empty url while the export job runs
job
Export job to poll, present while the log archive is being prepared
Errors
400
Bad Request Error
404
Not Found Error
500
Internal Server Error
