---
title: "Changes to Get user info"
method: GET
path: "/api/whoami-v2"
---

# Changes to Get user info

`GET /api/whoami-v2`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 82 revisions.

- **2026-09-18** `74f2b0d17636` — 1 warning
- **2026-09-08** `bd17546f47b8` — 15 breaking, 6 info
- **2026-08-13** `99cb19038135` — 10 warning, 2 info
- **2026-07-26** `36390f25f00f` — 2 warning

## Changes

- **2026-09-18** `74f2b0d17636` — 1 warning
  - added the new `container` enum value to the `anyOf[subschema #1]/auth/accessToken/fineGrained/scoped/items/entity/type` response property for the response status `200`
- **2026-09-08** `bd17546f47b8` — 15 breaking, 6 info
  - the response property `anyOf[subschema #1]/email` became nullable for the status `200`
  - the response property `anyOf[subschema #1]/orgs/items/email` became nullable for the status `200`
  - the response property `anyOf[subschema #1]/orgs/items/periodEnd` became nullable for the status `200`
  - the response property `anyOf[subschema #1]/periodEnd` became nullable for the status `200`
  - the `anyOf[subschema #1]/auth/accessToken/fineGrained/global/items/` response's property type changed from no type to `string` for status `200`
  - the `anyOf[subschema #1]/auth/accessToken/fineGrained/scoped/items/entity/type` response's property type changed from no type to `string` for status `200`
  - the `anyOf[subschema #1]/auth/accessToken/role` response's property type changed from no type to `string` for status `200`
  - the `anyOf[subschema #1]/billingMode` response's property type changed from no type to `string` for status `200`
  - the `anyOf[subschema #1]/orgs/items/billingMode` response's property type changed from no type to `string` for status `200`
  - the `anyOf[subschema #1]/orgs/items/plan` response's property type changed from no type to `string` for status `200`
  - the `anyOf[subschema #1]/orgs/items/resourceGroups/items/role` response's property type changed from no type to `string` for status `200`
  - the `anyOf[subschema #1]/orgs/items/roleInOrg` response's property type changed from no type to `string` for status `200`
  - the `anyOf[subschema #1]/orgs/items/securityRestrictions/items/` response's property type changed from no type to `string` for status `200`
  - the `anyOf[subschema #1]/orgs/items/type` response's property type changed from no type to `string` for status `200`
  - the `anyOf[subschema #1]/type` response's property type changed from no type to `string` for status `200`
  - response property `anyOf[subschema #1]/email` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `anyOf[subschema #1]/orgs/items/email` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `anyOf[subschema #1]/orgs/items/periodEnd` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - response property `anyOf[subschema #1]/periodEnd` list-of-types was narrowed by removing types `null` from media type `application/json` of response `200`
  - the `anyOf[subschema #1]/auth/accessToken/createdAt` response's property pattern was changed from `^((\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\d|3[01])|(0[469]|11)-(0[1-9]|[12]\d|30)|(02)-(0[1-9]|1\d|2[0-8])))T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d+)?(Z)$` to `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` for the status `200`
  - the `anyOf[subschema #1]/auth/expiresAt` response's property pattern was changed from `^((\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\d|3[01])|(0[469]|11)-(0[1-9]|[12]\d|30)|(02)-(0[1-9]|1\d|2[0-8])))T([01]\d|2[0-3]):[0-5]\d:[0-5]\d(\.\d+)?(Z)$` to `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` for the status `200`
- **2026-08-13** `99cb19038135` — 10 warning, 2 info
  - added the new `admin` enum value to the `anyOf[subschema #1]/orgs/items/resourceGroups/items/role` response property for the response status `200`
  - added the new `admin` enum value to the `anyOf[subschema #1]/orgs/items/roleInOrg` response property for the response status `200`
  - added the new `contributor` enum value to the `anyOf[subschema #1]/orgs/items/resourceGroups/items/role` response property for the response status `200`
  - added the new `contributor` enum value to the `anyOf[subschema #1]/orgs/items/roleInOrg` response property for the response status `200`
  - added the new `no_access` enum value to the `anyOf[subschema #1]/orgs/items/resourceGroups/items/role` response property for the response status `200`
  - added the new `no_access` enum value to the `anyOf[subschema #1]/orgs/items/roleInOrg` response property for the response status `200`
  - added the new `read` enum value to the `anyOf[subschema #1]/orgs/items/resourceGroups/items/role` response property for the response status `200`
  - added the new `read` enum value to the `anyOf[subschema #1]/orgs/items/roleInOrg` response property for the response status `200`
  - added the new `write` enum value to the `anyOf[subschema #1]/orgs/items/resourceGroups/items/role` response property for the response status `200`
  - added the new `write` enum value to the `anyOf[subschema #1]/orgs/items/roleInOrg` response property for the response status `200`
  - removed `subschema #1, subschema #2` from the `anyOf[subschema #1]/orgs/items/resourceGroups/items/role` response property `anyOf` list for the response status `200`
  - removed `subschema #1, subschema #2` from the `anyOf[subschema #1]/orgs/items/roleInOrg` response property `anyOf` list for the response status `200`
- **2026-07-26** `36390f25f00f` — 2 warning
  - removed the optional property `anyOf[subschema #1]/orgs/items/missingMFA` from the response with the `200` status
  - removed the optional property `anyOf[subschema #1]/orgs/items/pendingSSO` from the response with the `200` status

---

[Operation](https://skmtc.dev/huggingface/apis/hub-api-endpoints/docs/api/whoami-v2/get.md) · [API](https://skmtc.dev/huggingface/apis/hub-api-endpoints.md) · [Page](https://skmtc.dev/huggingface/apis/hub-api-endpoints/changes/api/whoami-v2/get)
