Skip to main content

Peers

GET /v1/app/peers

Returns a list of all connected peers, including both LAN cluster peers and WAN peers.

Authentication

Optional. Required when allow_network_access is enabled.

Authorization: Bearer <your-api-key>

Request

No request body. No query parameters.

Response

{
"peers": [
{
"id": "node-abc123",
"name": "Office iMac",
"type": "lan",
"model": "llama-3.1-8b-q4",
"hardware": {
"chip": "Apple M4",
"memory_gb": 64
},
"latency_ms": 2
},
{
"id": "node-def456",
"name": "Home Mac Mini",
"type": "wan",
"model": "qwen3-4b-q4",
"hardware": {
"chip": "Apple M2",
"memory_gb": 16
},
"latency_ms": 45
}
]
}

Peer Object

FieldTypeDescription
idstringUnique peer identifier
namestringDisplay name of the peer
typestringConnection type: lan or wan
modelstringCurrently loaded model on the peer, or null
hardwareobjectHardware information
hardware.chipstringChip identifier
hardware.memory_gbintegerTotal system memory in GB
latency_msintegerNetwork latency to peer in milliseconds

Example

curl http://localhost:11435/v1/app/peers