---
title: "Identity probe (tenant, scopes, key type)"
method: GET
path: "/tenant/whoami"
tags: ["Tenant"]
---

# Identity probe (tenant, scopes, key type)

`GET /tenant/whoami`

## Request

- Base URL: `https://api.savanto.ai`
- URL: `https://api.savanto.ai/tenant/whoami`
- Auth: HTTP bearer

Return the tenant ID, tier, API key ID, key type, and scope list for the current caller. Designed for agent / MCP bootstrapping so clients can decide which operations are available before issuing them. Does NOT return any secret material.

## Response `200`

Current caller identity

- object
  - `object` 'tenant', required
  - `requestId` string, required
  - `data` TenantWhoami, required
    - `tenantId` string, required
    - `tier` string, required
    - `apiKeyId` string, required
    - `keyType` 'secret' | 'publishable', required
    - `workspaceId` string, nullable, required
    - `scopes` string[]
    - `label` string

## Other responses

- `400`: Validation error
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict
- `413`: Payload too large
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/savanto/apis/savanto-api.md) · [All operations](https://skmtc.dev/savanto/apis/savanto-api/llms.txt) · [OpenAPI document](https://skmtc.dev/savanto/apis/savanto-api/revisions/82437327a878?raw)
