Skip to content

Service Tasks

GET
/api/services/{service_id}/tasks
curl --request GET \
--url https://kelpie.example.com/api/services/example/tasks
service_id
required
Service Id
string

Successful Response

Media typeapplication/json
Response Service Tasks Api Services Service Id Tasks Get
Array<object>
Task
object
id
required
Id
string
service_id
required
Service Id
string
node_id
required
Node Id
Any of:
string
node
required
Node
Any of:
string
slot
required
Slot
Any of:
integer
image
required
Image
string
desired_state
required
Desired State
string
state
required
State
string
message
required
Message
Any of:
string
error
required
Error
Any of:
string
exit_code
required
Exit Code
Any of:
integer
container_id
required
Container Id
Any of:
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"
}
]

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": {}
}
]
}