All Tasks
GET
/api/tasks
const url = 'https://kelpie.example.com/api/tasks';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/tasksResponses
Section titled “Responses”Successful Response
Media typeapplication/json
Response All Tasks Api Tasks Get
Array<object>
Taskobject
id
required
Id
string
service_id
required
Service Id
string
image
required
Image
string
desired_state
required
Desired State
string
state
required
State
string
updated_at
required
Updated At
string format: date-time
Example generated
[ { "id": "example", "service_id": "example", "node_id": "example", "node": "example", "slot": 1, "image": "example", "desired_state": "example", "state": "example", "message": "example", "error": "example", "exit_code": 1, "container_id": "example", "updated_at": "2026-04-15T12:00:00Z" }]