Herald
OpenapiExt

List realms

Returns the realms visible to the caller. Principals in the `admin` realm see all realms (platform-level enumeration); every other principal sees only its own realm. Realm-level detail endpoints remain strictly own-realm — this list is the only platform-wide view. # Authentication Requires valid API Key via X-API-Key header # Authorization The caller must have `realm.view` permission in their own realm.

GET
/api/ext/realms

Returns the realms visible to the caller. Principals in the admin realm see all realms (platform-level enumeration); every other principal sees only its own realm. Realm-level detail endpoints remain strictly own-realm — this list is the only platform-wide view.

Authentication

Requires valid API Key via X-API-Key header

Authorization

The caller must have realm.view permission in their own realm.

Authorization

api_key
headerX-API-Key<token>

Client-app API key (third-party external API).

Response Body

Realms listed successfully

application/json
  1. response

Paginated list of realms

realms*array<>
Example Request
curl -X GET 'https://example.com/api/ext/realms'
Example Response
{
  "realms": [
    {
      "createdAt": "string",
      "description": "string",
      "id": "string",
      "name": "string",
      "updatedAt": "string"
    }
  ]
}