Jobs

Retrieves the execution logs for a specific task. The file path for the log must be obtained from the Get Job Tasks endpoint.

post/api/v1/project/{projectid}/jobs/{id}/tasks/{taskid}/logs

Request

Path parameters

projectidstring required

project id (default is 123)

idinteger required

job id

taskidstring required

task id (defaults to 1)

Query parameters

sourcestring

log source: all (default), sync or worker

cursorstring

opaque log cursor from a previous response; empty tails from the end

limitinteger

log limit

directionstring

log direction

Request body

file_pathstring required

Example request

{
  "file_path": "sync-123-2-2026-01-19T13:45:09Z"
}

Response

OK

messagestring
successboolean

Example response

{
  "data": {
    "has_more_older": true,
    "newer_cursor": "eyJzeW5jIjoyMDQ4LCJ3b3JrZXIiOjEwMjR9",
    "older_cursor": "eyJzeW5jIjoxMDI0LCJ3b3JrZXIiOjUxMn0"
  },
  "message": "operation completed successfully",
  "success": true
}

Changes