Skip to main content
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

  • uuidStringRequired

    UUID of the agent sending heartbeat

Body Fields

  • versionStringRequired

    Current version of the agent binary

    Example: 1.2.3

  • uptimeStringRequired

    Seconds the agent process has been running

    Example: 86400

  • cpuUsageLongRequired

    CPU utilization percentage (0-100)

    Example: 12.5

  • memUsageLongRequired

    Memory utilization percentage (0-100)

    Example: 35.2

Responses

200 OK

On success, this API returns the following response structure.

  • uuidString

    Unique identifier of the agent instance

    Example: agent-abc123-def456

  • nameString

    Human-readable name of the agent

    Example: prod-agent-01

  • typeString

    Type of the agent (e.g. log, metric, trace)

    Example: log

  • versionString

    Current version of the agent binary

    Example: 1.2.3

  • statusString

    Current status of the agent (online, offline, delayed)

    Example: online

  • endpointString

    gRPC or HTTP endpoint of the agent

    Example: http://192.168.1.10:7890

  • platformIdString

    UUID of the platform this agent belongs to

    Example: plat-001-abc

  • regionString

    Deployment region of the agent

    Example: us-east-1

  • labelsString

    JSON string of key-value labels attached to this agent

    Example: {"env":"prod","team":"ops"}

  • lastHeartbeatAtString

    Last heartbeat at

    Example: 2026-01-15T08:00:00Z

  • createDateString

    Create date

    Example: 2026-01-15T08:00:00Z

  • lastOpDateString

    Last op date

    Example: 2026-01-15T08:00:00Z

Endpoint

PUT/api/v1/agents/{uuid}/heartbeat

/api/v1/agents/{uuid}/heartbeat

Operation ID

Heartbeat

Permalink

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.

View all change history