---
title: "Get current token information"
method: GET
path: "/whoami"
tags: ["auth"]
---

# Get current token information

`GET /whoami`

Returns information about the current authentication token, including
the token UUID, expiration time, and a map of all known permissions
with their granted status.

## Response `200`

OK

- WhoAmIResponse
  - `token_uuid` string, required — UUID of the authentication token
  - `token_expiration` integer, nullable, required — Token expiration time as Unix timestamp, or null if not set
  - `permissions` object, required — Map of all known permission names to their granted status. Keys are permission names (e.g., `import`, `spawn`, `list`), values indicate whether the token has the permission.
  - `limits` object — Map of resource limit names to their values for the current token.
  - `operations_stat` object, required — Operation statistics (reserved for future use)

## Other responses

- `401` — Unauthorized - Invalid or missing authentication credentials. Either the `Authorization` bearer token is missing or invalid, or the `Project` header is missing.

---

[API](https://skmtc.net/nebius/apis/nebius-openai-compatible-inference-api.md) · [All operations](https://skmtc.net/nebius/apis/nebius-openai-compatible-inference-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nebius/nebius-openai-compatible-inference-api/revisions/0fb323abba3c/schema)
