Jobs
Get task logs
Changed onRetrieves 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
- The document declares no server URL.
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Example request
{
"file_path": "sync-123-2-2026-01-19T13:45:09Z"
}Response
OK
Example response
{
"data": {
"has_more_older": true,
"newer_cursor": "eyJzeW5jIjoyMDQ4LCJ3b3JrZXIiOjEwMjR9",
"older_cursor": "eyJzeW5jIjoxMDI0LCJ3b3JrZXIiOjUxMn0"
},
"message": "operation completed successfully",
"success": true
}Changes
- info
added the new optional
queryrequest parametersource
- info
- info
added the non-success response with the status
- info
added the non-success response with the status
- info