Get the number of opted-in and opted-out image URLs in a dataset.
Changed onBased on the API of spawning.ai, returns the number of image URLs that have been opted-in and opted-out. Use the optional config and split parameters to filter the response. Only a sample of the rows is scanned, the first 100K rows at the moment.
get/opt-in-out-urls
Request
- Base URLhttps://datasets-server.huggingface.co
- URLhttps://datasets-server.huggingface.co/opt-in-out-urls
- 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.
splitstring
The split name.
Response
The number of opted-in and opted-out image URLS in the dataset.
Changes
- info
the response property
became required for the status
- info
- info
the endpoint scheme security
CookieHuggingFacewas removed from the API
- info