Infrastructure/Agents
PUTAgentSince 1.0SynchronousAuth Required
Heartbeat
Update agent status and resource metrics by receiving a periodic heartbeat
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
uuidStringRequiredUUID of the agent sending heartbeat
Body Fields
versionStringRequiredCurrent version of the agent binary
Example: 1.2.3
uptimeStringRequiredSeconds the agent process has been running
Example: 86400
cpuUsageLongRequiredCPU utilization percentage (0-100)
Example: 12.5
memUsageLongRequiredMemory utilization percentage (0-100)
Example: 35.2
Responses
Endpoint
PUT/api/v1/agents/{uuid}/heartbeat
/api/v1/agents/{uuid}/heartbeat
Request Example
curl -X PUT '{host}/api/v1/agents/{uuid}/heartbeat' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"version":"1.2.3","uptime":86400,"cpuUsage":12.5,"memUsage":35.2}'
Response Example
200{
"uuid": "agent-abc123-def456",
"name": "prod-agent-01",
"type": "log",
"version": "1.2.3",
"status": "online",
"endpoint": "http://192.168.1.10:7890",
"platformId": "plat-001-abc",
"region": "us-east-1"
}Change History
This API has no change history records yet.
