Skip to content

Task Logs

GET
/api/tasks/{task_id}/logs
curl --request GET \
--url 'https://kelpie.example.com/api/tasks/example/logs?tail=200&timestamps=true'
task_id
required
Task Id
string
tail
Tail
integer
default: 200 >= 1 <= 10000
timestamps
Timestamps
boolean
default: true

Successful Response

Media typeapplication/json
Response Task Logs Api Tasks Task Id Logs Get

Example generated

example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}