auth

Get information about the user and auth method used

get/api/whoami-v2

Request

  • Base URL: https://huggingface.co
  • URL: https://huggingface.co/api/whoami-v2
  • Auth: HTTP bearer

Response

Auth information

type'user' required
idstring required
namestring required
fullnamestring required
emailstring nullable
canPayboolean
billingMode'prepaid' | 'postpaid'
avatarUrlstring required
periodEndnumber nullable
emailVerifiedboolean
isProboolean required

Changes

    • info

      added the optional property /// to the response with the status

    • warning

      added the new container enum value to the /////// response property for the response status