api.ListNodesResponse
items object[]
The actual items
ID is the unique identifier for the node
spec object
Spec contains the desired configuration and capabilities of the node
AgentVersion is the version of the agent software running on the node
Arch is the CPU architecture (amd64, arm64)
capabilities object
Capabilities defines what this node can do
Inputs are the data input types the node can handle (e.g., "syslog", "beats")
Outputs are the data output types the node can send to (e.g., "elasticsearch", "s3")
Processors are the data processors available (e.g., "grok", "json")
Runtimes are the execution runtimes available (e.g., "docker", "wasm")
HardwareFingerprint is a unique identifier for the hardware configuration
Hostname is the network hostname of the node
labels object
Labels are key-value pairs for node selection and filtering
Name is the human-readable name of the node
OS is the operating system (linux, windows, darwin)
status object
Status contains system-managed fields for the node
ConnectedSince is when the node connected in the current session
ConnectionState is the current connection state of the node
Possible values: [disconnected, connected, lost, deleted]
CreatedAt is when the node was first registered
DisconnectedSince is when the node last disconnected
LastEdgeSeqNum Last seq received from edge node
LastHeartbeat is when the last heartbeat was received
LastOrchestratorSeqNum Last seq received from orchestrator
Message provides additional context about the current state
resource_usage object
ResourceUsage contains the current resource usage metrics (updated with each heartbeat)
CPUPercent is the CPU usage percentage (0-100)
DiskCapacityBytes is the total disk capacity in bytes
DiskPercent is the disk usage percentage (0-100)
DiskUsedBytes is the disk space used in bytes
MemoryCapacityBytes is the total available memory in bytes
MemoryPercent is the memory usage percentage (0-100)
MemoryUsedBytes is the memory currently in use in bytes
Revision is incremented on each update for optimistic concurrency control
SessionID uniquely identifies the current connection session
UpdatedAt is when the node was last updated
Token for next page
{
"items": [
{
"id": "node-edge-us-west-01",
"spec": {
"agent_version": "1.2.0",
"arch": "amd64",
"hardware_fingerprint": "hw-abc123",
"hostname": "edge01.example.com",
"labels": {
"env": "production",
"gpu": "nvidia-t4",
"region": "us-west",
"role": "app-server"
},
"name": "edge-us-west-01",
"os": "linux"
},
"status": {
"connected_since": "2025-01-15T10:00:00Z",
"connection_state": "connected",
"created_at": "2025-01-10T08:00:00Z",
"last_heartbeat": "2025-01-15T12:45:30Z",
"message": "Healthy",
"resource_usage": {
"cpu_percent": 45.5,
"disk_capacity_bytes": 536870912000,
"disk_percent": 20,
"disk_used_bytes": 107374182400,
"memory_capacity_bytes": 17179869184,
"memory_percent": 25,
"memory_used_bytes": 4294967296
},
"revision": 42,
"session_id": "sess-xyz789",
"updated_at": "2025-01-15T12:45:30Z"
}
}
],
"next_token": "string"
}