Get the size of a dataset.

Changed on

Returns the size (number of rows, storage) of the dataset. Use the optional config parameter to filter the response on a subset.

get/size

Request

  • Base URL
    https://datasets-server.huggingface.co
  • URL
    https://datasets-server.huggingface.co/size
  • Auth
    • none
    • or HTTP bearer
    • or HTTP bearer

Query parameters

datasetstring required

The identifier of the dataset on the Hub.

configstring

The dataset subset on which to filter the response.

Response

The size of the dataset.

OR

Changes

    • info

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

    • info

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

    • info

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

    • info

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

    • info

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

    • info

      the endpoint scheme security CookieHuggingFace was removed from the API