Skip to content
Hoody.com

List realms and the containers within a realm to bind an agent session to a target environment. These read-only endpoints expose the same discovery data as the in-process hoody.list_realms and hoody.list_containers helpers. Both routes are global-read — they are not part of Fleet management and return paginated envelopes suitable for populating a bind-target picker.

Lists the realms visible to the token, with active and blocked flags, so a caller can pick a valid bind target for POST /sessions. Global-read; not part of Fleet management.

NameInTypeRequiredDescription
pagequeryintegerNo1-based page number for pagination.
limitqueryintegerNoMaximum items per page (0 = no pagination).
realmquerystringNoPer-request realm selector — the query alias of the X-Hoody-Realm header. Accepted: "global" or a 24-hex id. Rejected (400 realm_scope_unsupported) on this route because the discovery endpoints have no realm dimension to scope.
X-Hoody-CwdheaderstringNoPer-request working-directory scope: the .hoody project layer / record cwd / tool+workflow cwd.
X-Hoody-Config-DirheaderstringNoPer-request --config-dir override selecting which on-disk .hoody install a stateless read/write resolves (HoodyPaths).
X-Hoody-ContainerheaderstringNoPer-request bound remote container (omitted = local). Rejected (400) on routes with no container dimension.
X-Hoody-RealmheaderstringNoPer-request realm selector: "global" or a 24-hex id (also accepted as ?realm=). Rejected (400 realm_scope_unsupported) on this route.
{
"items": [
{
"id": "890abcdef12345678901cdef",
"name": "production",
"active": true,
"blocked": false
},
{
"id": "abcdef12345678901cdef67",
"name": "staging",
"active": true,
"blocked": false
},
{
"id": "123def45678901cdef67abc",
"name": "archive",
"active": false,
"blocked": true
}
],
"meta": {
"total": 3,
"page": 1,
"limit": 20
}
}
Terminal window
curl -X GET 'https://{projectId}-{containerId}-agent-1.{server}.containers.hoody.com/api/v1/agent/realms' \
-H 'Authorization: Bearer <token>'

Lists the containers in a realm so a caller can pick a bind target. The realm is selected with ?realm=<id> (or the X-Hoody-Realm header); omit both to list globally. Global-read; not part of Fleet management.

NameInTypeRequiredDescription
pagequeryintegerNo1-based page number for pagination.
limitqueryintegerNoMaximum items per page (0 = no pagination).
realmquerystringNoPer-request realm selector — the query alias of the X-Hoody-Realm header. Accepted: "global" or a 24-hex id. Filters the returned containers to the requested realm.
X-Hoody-CwdheaderstringNoPer-request working-directory scope: the .hoody project layer / record cwd / tool+workflow cwd.
X-Hoody-Config-DirheaderstringNoPer-request --config-dir override selecting which on-disk .hoody install a stateless read/write resolves (HoodyPaths).
X-Hoody-ContainerheaderstringNoPer-request bound remote container (omitted = local). Rejected (400) on routes with no container dimension.
X-Hoody-RealmheaderstringNoPer-request realm selector: "global" or a 24-hex id (also accepted as ?realm=). Filters the returned containers to the requested realm.
{
"items": [
{
"id": "67e89abc123def456789abcd",
"name": "prod-runner-01",
"realm": "890abcdef12345678901cdef",
"status": "active",
"endpoint": "wss://67e89abc123def456789abcd-890abcdef12345678901cdef-agent-1.node-us.containers.hoody.com"
},
{
"id": "890abcdef12345678901cdef",
"name": "staging-runner-02",
"realm": "890abcdef12345678901cdef",
"status": "active",
"endpoint": "wss://67e89abc123def456789abcd-890abcdef12345678901cdef-agent-1.node-us.containers.hoody.com"
}
],
"meta": {
"total": 2,
"page": 1,
"limit": 20
}
}
Terminal window
curl -X GET 'https://{projectId}-{containerId}-agent-1.{server}.containers.hoody.com/api/v1/agent/containers?realm=890abcdef12345678901cdef&limit=20' \
-H 'Authorization: Bearer <token>' \
-H 'X-Hoody-Realm: 890abcdef12345678901cdef'