---
title: "The caller’s platform role and the admin safety rules (super_admin)"
method: GET
path: "/api/admin/whoami"
tags: ["admin"]
---

# The caller’s platform role and the admin safety rules (super_admin)

`GET /api/admin/whoami`

## Request

- Base URL: `https://api.wizbi.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wizbi.ai/api/admin/whoami`
- Auth: none declared

## Response `200`

OK.

- object
  - `principalId` string, required
  - `email` string, nullable, required
  - `role` string, required
  - `rules` string[], required

## Other responses

- `403`: Not a super_admin.

---

[API](https://skmtc.dev/wizbi/apis/wizbi-core-api.md) · [All operations](https://skmtc.dev/wizbi/apis/wizbi-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wizbi/apis/wizbi-core-api/revisions/5a47416c82ec?raw)
