Skip to main content
GET
/
api
/
workspaces
/
{id}
/
schedules
/
{ref}
/
logs
List Schedule Logs
curl --request GET \
  --url http://localhost:8080/api/workspaces/{id}/schedules/{ref}/logs \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "workspace_id": "<string>",
    "task_id": "<string>",
    "task_run_id": "<string>",
    "session_name": "<string>",
    "status": "<string>",
    "runner_pid": 123,
    "exit_code": 123,
    "error_message": "<string>",
    "line_count": 123,
    "last_activity_at": "<string>",
    "started_at": "<string>",
    "finished_at": "<string>",
    "duration": 123,
    "keep_status": false,
    "report": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
ref
string
required

Response

Successful Response

id
string
required
workspace_id
string
required
task_id
string
required
task_run_id
string | null
required
session_name
string
required
status
string
required
runner_pid
integer | null
required
exit_code
integer | null
required
error_message
string | null
required
line_count
integer
required
last_activity_at
string | null
required
started_at
string
required
finished_at
string | null
required
duration
number | null
keep_status
boolean
default:false
report
string | null