Model Sync

Get Execution Console Logs

Changed on

Fetch the latest console log entries for a sync execution. Returns the most recent 50 entries.

get/api/syncs/{sync_id}/executions/{id}/consolelog

Request

  • Base URL
    https://app.polytomic.com
  • Auth
    • HTTP bearer
    • or HTTP basic

Path parameters

sync_idstring uuid required

Model sync ID

Example:248df4b7-aa70-47b8-a036-33ac447e668d
idstring uuid required

Execution ID

Example:0ecd09c1-b901-4d27-9053-f0367c427254

Query parameters

limitinteger

Maximum number of entries to return. Values above the logger retention limit are capped to 50.

Example:50
afterstring

Return only entries newer than this cursor.

Example:1744311099250-0

Headers

X-Polytomic-Versionstring

Response

OK

Example response

{
  "data": {
    "entries": [
      {
        "id": "1744311099250-0",
        "level": "INFO",
        "message": "Started sync",
        "timestamp": "2024-01-01T00:00:00Z"
      }
    ]
  }
}

Changes

    • breaking

      the response's property type changed from object to no type for status

    • warning

      removed the optional property / from the response with the status

    • warning

      removed the optional property / from the response with the status

    • info

      added to the response property allOf list for the response status