The Discovery endpoints let an agent enumerate the realms and containers it is allowed to bind to before opening a session. Both are read-only, global-read operations — they are not part of Fleet management, and they exist solely to help a caller pick a valid target for POST /api/v1/agent/sessions.
Lists the realms visible to the calling token (wrapper for hoody.list_realms), each annotated with active / blocked flags so the caller can pick a valid bind target.
Per-request working-directory scope (§6.1): the .hoody project layer / record cwd / tool+workflow cwd.
X-Hoody-Config-Dir
header
string
No
Per-request --config-dir override (§6.1) selecting which on-disk .hoody install a stateless read/write resolves.
X-Hoody-Container
header
string
No
Per-request bound remote container (§6.1; omitted = local). Rejected (400) on routes with no container dimension.
X-Hoody-Realm
header
string
No
Per-request realm selector (§6.1): "global" or a 24-hex id (also accepted as ?realm=). Rejected (400 realm_scope_unsupported) on active-only / no-realm routes.
realm
query
string
No
Per-request realm selector (§6.1) — the query-string alias of the X-Hoody-Realm header, read only when the header is absent.
Lists the containers inside a selected realm (wrapper for hoody.list_containers) so a caller can pick a bind target. The realm is selected with ?realm=<id> (or the X-Hoody-Realm header). global-read; read-only — not part of Fleet management.
Per-request working-directory scope (§6.1): the .hoody project layer / record cwd / tool+workflow cwd.
X-Hoody-Config-Dir
header
string
No
Per-request --config-dir override (§6.1) selecting which on-disk .hoody install a stateless read/write resolves.
X-Hoody-Container
header
string
No
Per-request bound remote container (§6.1; omitted = local). Rejected (400) on routes with no container dimension.
X-Hoody-Realm
header
string
No
Per-request realm selector (§6.1): "global" or a 24-hex id (also accepted as ?realm=). Rejected (400 realm_scope_unsupported) on active-only / no-realm routes.
realm
query
string
No
Per-request realm selector (§6.1) — the query-string alias of the X-Hoody-Realm header, read only when the header is absent.