Appearance
GET /public/v1/me
| Auth | Required |
| Scope | Any valid key |
Returns tenant identity and scopes for the calling key.
Response fields
| Field | Type | Notes |
|---|---|---|
tenant_id | uuid | |
tenant_slug | string | |
tenant_name | string | |
key_name | string | Friendly name |
key_prefix | string | Non-secret prefix |
scopes | string[] | Granted scopes |
environment | test | live |
Try It
Try It — uses https://staging-api.appraiserflow.ai/public/v1. Keys stay in sessionStorage only. af_live_ keys are blocked.
Curl
bash
curl -sS "$AF_API/public/v1/me" -H "Authorization: Bearer $AF_API_KEY"Errors
| Status | Code |
|---|---|
| 401 | invalid_api_key |