notifications

List notifications

Changed on

List notifications for the user

get/api/notifications

Request

  • Base URL: https://huggingface.co
  • URL: https://huggingface.co/api/notifications
  • Auth: HTTP bearer

Query parameters

pinteger
readStatus'all' | 'unread'
repoType'dataset' | 'model' | 'space' | 'bucket' | 'kernel' | 'container'
repoNamestring
postAuthorstring
paperIdstring
articleIdstring
mention'all' | 'participating' | 'mentions'
lastUpdatestring date-time

Response

The notifications for the user

startnumber required

Example response

{
  "notifications": [
    {
      "repo": {
        "name": "deepseek-ai/DeepSeek-R1"
      }
    }
  ]
}

Changes

    • warning

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

    • info

      added the new enum value container to the query request parameter repoType

    • breaking

      added subschema #1 subschema #2 subschema #3 subschema #4 to the / response property oneOf list for the response status

    • warning

      changed the pattern of the query request parameter lastUpdate 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))$

    • info

      for the query request parameter mention, the type was generalized from no type to string

    • info

      for the query request parameter readStatus, the type was generalized from no type to string

    • info

      for the query request parameter repoType, the type was generalized from no type to string

    • info

      removed subschema #1 subschema #2 subschema #3 subschema #4 from the / response property anyOf list for the response status