Skip to main content
GET
/
api
/
admin
/
logs
/
runners
/
{workspace_id}
Get Workspace Runner Logs
curl --request GET \
  --url http://localhost:8080/api/admin/logs/runners/{workspace_id} \
  --header 'Authorization: Bearer <token>'
{
  "workspace_id": "<string>",
  "workspace_name": "<string>",
  "log_files": [
    {
      "session_id": "<string>",
      "session_name": "<string>",
      "status": "<string>",
      "size_bytes": 123,
      "line_count": 123,
      "started_at": "<string>",
      "task_id": "<string>",
      "task_title": "<string>",
      "finished_at": "<string>"
    }
  ],
  "total": 123,
  "has_more": false
}

Authorizations

Authorization
string
header
required

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

Path Parameters

workspace_id
string
required

Query Parameters

limit
integer
default:20
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: 0 <= x <= 100000
status
string | null

Filter by session status

Response

200 - application/json

Successful Response

workspace_id
string
required
workspace_name
string
required
log_files
RunnerLogFile · object[]
required
total
integer
required
has_more
boolean
default:false