For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inBook a demo
GuidesAPI Reference
GuidesAPI Reference
  • API Reference
      • GETList Bulk Syncs
      • POSTCreate Bulk Sync
      • GETGet Bulk Sync
      • PUTUpdate Bulk Sync
      • DELDelete Bulk Sync
      • POSTActivate Bulk Sync
      • POSTCancel Bulk Sync
      • POSTStart Bulk Sync Execution
      • GETGet Bulk Sync Status
      • GETGet Bulk Source
      • GETGet Bulk Destination
        • GETList Bulk Sync Execution Status
        • GETList Bulk Sync Executions
        • GETGet Bulk Sync Execution
        • POSTCancel Bulk Sync Execution
        • GETGet Bulk Sync Execution Logs
        • POSTExport Sync Logs
Logo
Log inBook a demo
API ReferenceBulk SyncExecutions

Get Bulk Sync Execution Logs

GET
https://app.polytomic.com/api/bulk/syncs/:sync_id/executions/:execution_id/logs
GET
/api/bulk/syncs/:sync_id/executions/:execution_id/logs
$curl https://app.polytomic.com/api/bulk/syncs/248df4b7-aa70-47b8-a036-33ac447e668d/executions/248df4b7-aa70-47b8-a036-33ac447e668d/logs \
> -H "X-Polytomic-Version: X-Polytomic-Version" \
> -H "Content-Type: application/json" \
> -u "<username>:<password>"
1{
2 "data": {
3 "Expires": "2024-06-01T15:45:00Z",
4 "URLs": [
5 "https://logs.polytomic.com/bulk-sync/248df4b7-aa70-47b8-a036-33ac447e668d/executions/248df4b7-aa70-47b8-a036-33ac447e668d/log-20240601T143000Z.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIOSFODNN7EXAMPLE%2F20240601%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240601T143000Z&X-Amz-Expires=900&X-Amz-SignedHeaders=host&X-Amz-Signature=abcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890"
6 ]
7 }
8}
Returns signed URLs for the log files produced by a single bulk sync execution. Each URL in the response is pre-signed and grants temporary read access to the corresponding log file. URLs expire after a short period; if you need to access a file after the URL has expired, call this endpoint again to obtain a fresh set of signed URLs. > 📘 To export logs asynchronously to a destination of your choice, use > [`POST /api/bulk/syncs/{sync_id}/executions/{execution_id}/logs/export`](../../../../../../../api-reference/bulk-sync/executions/export-logs) > instead.
Was this page helpful?
Previous

Export Sync Logs

Next

Returns signed URLs for the log files produced by a single bulk sync execution.

Each URL in the response is pre-signed and grants temporary read access to the corresponding log file. URLs expire after a short period; if you need to access a file after the URL has expired, call this endpoint again to obtain a fresh set of signed URLs.

📘 To export logs asynchronously to a destination of your choice, use POST /api/bulk/syncs/{sync_id}/executions/{execution_id}/logs/export instead.

Authentication

AuthorizationBasic

This is the Polytomic deployment key (on-premises only)

OR
AuthorizationBearer
This is the Polytomic API key

Path parameters

sync_idstringRequiredformat: "uuid"
Unique identifier of the bulk sync.
execution_idstringRequiredformat: "uuid"
Unique identifier of the execution whose log files should be listed.

Headers

X-Polytomic-VersionstringRequired

Response

OK
dataobject

Errors

401
Unauthorized Error
404
Not Found Error