Skip to main content

Get task logs

GET
/tasks/logs/{id}

Contract

Parameter
Value
Sectiontasks
AuthenticationCookieAuth
Consumesnot required
Producesapplication/json

Parameters

3 parameters

Name
Location
Required
Type
Description
idpathyesintegerTask ID
after_tsquerynostringReturn only lines after this timestamp
cursorsquerynostringPer-agent time cursors, for example host1:123,host2:456

Responses

4 responses

Status
Description
Type
200
Response: {lines: [...]}object
400
Invalid task IDobject
401
Unauthorizedobject
500
Internal server errorobject
  • {}
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }
  • {
      "data": {},
      "error": "<string>"
    }