Get the number of rows containing Presidio entities in a dataset.

Changed on

Based on Presidio, returns the number of rows containing names, emails, phone numbers of sensitive PII. Only a sample of the rows is scanned, the first 10K rows at the moment.

get/presidio-entities

Request

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

Query parameters

datasetstring required

The identifier of the dataset on the Hub.

Response

The number of Presidio entities in the dataset.

scanned_columnsstring[] required
num_rows_with_person_entitiesinteger required
num_rows_with_phone_number_entitiesinteger required
num_rows_with_email_address_entitiesinteger required
num_rows_with_sensitive_piiinteger required
num_scanned_rowsinteger required
has_scanned_columnsboolean required
full_scanboolean nullable

Changes