Skip to content

Agent heartbeat

POST
/k8s/agents/heartbeat
curl --request POST \
--url https://shoehorn.example.com/api/v1/k8s/agents/heartbeat \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "cluster_id": "example", "agent_version": "example", "node_count": 1, "pod_count": 1 }'

Called periodically by the agent to indicate it is alive.

Media type application/json
object
cluster_id
required
string
agent_version
string
node_count
integer
pod_count
integer
Example generated
{
"cluster_id": "example",
"agent_version": "example",
"node_count": 1,
"pod_count": 1
}

Heartbeat acknowledged