Skip to content

List Agents

GET
/api/agents
curl --request GET \
--url 'https://kelpie.example.com/api/agents?refresh=false'
refresh
Refresh
boolean

Successful Response

Media typeapplication/json
AgentsOut
object
enabled
required
Enabled
boolean
agents
required
Agents
Array<object>
AgentOut
object
url
required
Url
string
node_id
required
Node Id
Any of:
string
hostname
required
Hostname
Any of:
string
version
required
Version
Any of:
string
error
required
Error
Any of:
string

Example generated

{
"enabled": true,
"agents": [
{
"url": "example",
"node_id": "example",
"hostname": "example",
"version": "example",
"error": "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": {}
}
]
}