datasets

List access requests

Changed on

List access requests for a gated repository

get/api/datasets/{namespace}/{repo}/user-access-request/{status}

Request

  • Base URL: https://huggingface.co
  • URL: https://huggingface.co/api/datasets/{namespace}/{repo}/user-access-request/{status}
  • Auth: HTTP bearer

Path parameters

namespacestring required
repostring required
status'pending' | 'accepted' | 'rejected' | 'reset' required

Query parameters

limitinteger
afterstring date-time
beforestring date-time
qstring

Search requests by requester username, fullname, email, email domain or verified organization

Response

List of access requests for the gated repository

requestIdstring required

Id of the request, usable to accept/reject it even when the requester identity is not shared

status'accepted' | 'rejected' | 'pending' | 'reset' required
fieldsobject
timestampstring date-time required
reviewedAtstring date-time

Changes

    • info

      added the required property / to the response with the status

    • warning

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

    • info

      added the new enum value reset to the path request parameter status