Skip to content

#1468 — the server processes heartbeating this deployment's database: id, start, last heartbeat, alive within the dead-owner window. Instance-wide, tenant-free.

GET
/api/operator/v1/server-instances
curl --request GET \
--url https://example.com/api/operator/v1/server-instances

List the server processes heartbeating this deployment’s database using the authorized operator credential.

OK

Media typeapplication/json

Every heartbeating server process, newest heartbeat first.

object
instances
required
Array<object>

One server process as its heartbeat row records it.

object
alive
required

Heartbeated within stale_after_seconds; past it, a peer reconciles its runs.

boolean
instance_id
required

The process’s owner id (hub@<host>#<process>), the value runs.owner_instance carries.

string
last_seen_at
required
string format: date-time
started_at
required
string format: date-time
this_process
required

The process that answered this request.

boolean
stale_after_seconds
required

The window alive is judged against (the dead-owner sweep’s).

integer format: int64

Example generated

{
"instances": [
{
"alive": true,
"instance_id": "example",
"last_seen_at": "2026-04-15T12:00:00Z",
"started_at": "2026-04-15T12:00:00Z",
"this_process": true
}
],
"stale_after_seconds": 1
}