Task Logs
GET
/api/tasks/{task_id}/logs
const url = 'https://kelpie.example.com/api/tasks/example/logs?tail=200×tamps=true';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://kelpie.example.com/api/tasks/example/logs?tail=200×tamps=true'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”task_id
required
Task Id
string
Query Parameters
Section titled “Query Parameters”tail
Tail
integer
timestamps
Timestamps
boolean
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Response Task Logs Api Tasks Task Id Logs Get
Example generated
exampleValidation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
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": {} } ]}