Skip to content
Hoody.com

A realm is a 24-hexadecimal identifier used by Hoody to group resources (projects, containers, servers, auth tokens) under a shared multi-tenant boundary. This endpoint returns the deduplicated set of realm_id values found across the resources your token can access. Use it to discover which realms your account touches and, optionally, how many resources you have in each one.

All realm operations require the resources.realms permission on the calling token.


Retrieve every unique realm_id referenced by your projects, containers, server pool memberships, and realm-scoped auth tokens. When include_usage=true, the response also includes per-realm counts of each resource type.

NameInTypeRequiredDescription
include_usagequerybooleanNoInclude resource counts per realm_id (projects, containers, servers, auth tokens). Adds a usage object to the response. Defaults to false.

This endpoint accepts no request body.

Terminal window
curl -X GET "https://api.hoody.icu/api/v1/realms/?include_usage=true" \
-H "Authorization: Bearer <token>"