Supported Entity Types

A list of supported entity types.

Deepgram can detect, format, and redact over 50 unique entity types. The complete inventory of supported entity types is listed in the charts below, divided into four groups: PII (Personally Identifiable Information), PHI (Protected Health Information), PCI (Payment Card Industry), and Other Entities.

When using redaction, you can redact entire groups using redact=pii, redact=phi, or redact=pci. For example, redact=phi will redact all entity types listed in the PHI section below.

Note that some entities, such as name and location, also have subtypes. For instance, location_city is a subtype of location. This means that, in a phrase such as I live in Boston, the location name Boston will be detected as both location and location_city, with the more specific label (in this case, location_city) appearing in the output. Other entity types are groupings of related categories. For example, healthcare_number captures health plan beneficiary numbers and medical record numbers, both of which are outlined as identifiers in the HIPAA Safe Harbor provision. Similarly, numerical_pii covers a broad range of entity types such as MAC addresses and cookie IDs.

While entity types have English names, international variants are also redacted. For example, ssn covers American Social Security Numbers, as well as many equivalent identification numbers used in different regions worldwide, such as the Canadian Social Insurance Number or the German Sozialversicherungsnummer.

Redacting Certain Entities

Deepgram’s redaction functionality supports over 50 unique entity types for both pre-recorded (batch) and streaming requests. Individual entity classes can be redacted by specifying redact=entity_class one or more times.

You can also use redaction groups (pci, pii, phi, numbers) to redact multiple related entity types at once. See the Redaction Groups column in the tables below to see which groups include each entity type.

The numbers group listed in the tables below can be activated with any of the following parameter values: redact=true, redact=numbers, or redact=aggressive_numbers. All three map to the same set of entity types.

Some entity types (cardinal, ordinal, percent) are not included in any redaction group. To redact these, you must specify them individually (e.g. redact=cardinal).

Supported Entity Types

PII (Personally Identifiable Information)

LabelDescriptionRegulatory ComplianceRedaction Groups
account_numberCustomer account or membership identification numberCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pii
ageNumbers associated with an individual’s ageGDPR, HIPAA, Quebec Privacy Act, APPInumbers, pii
bank_accountBank account numbers and international equivalents, such as IBANCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers
cardinalNumerical expressions in cardinal form
credit_cardCredit card numbersCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pci
credit_card_expirationExpiration date of a credit cardCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pci
cvv3- or 4-digit card verification codes and equivalentsCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pci
dateSpecific calendar dates, which can include days of the week, dates, months, or yearsHIPAA, Quebec Privacy Actnumbers, pii
date_intervalBroader time periods, including date ranges, months, seasons, years, and decadesHIPAAnumbers, pii
dobDates of birthCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pii
email_addressEmail addressesCPRA, GDPR, HIPAA, Quebec Privacy Act, APPIpii
eventNames of events or holidayspii
filenameNames of computer files, including the extension or filepathpii
gender_sexualityTerms indicating gender identity or sexual orientation, including slang termsCPRA, GDPR, GDPR Sensitive, APPI Sensitivepii
healthcare_numberHealthcare numbers and health plan beneficiary numbersCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pii
ip_addressInternet IP address, including IPv4 and IPv6 formatsCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pii
locationMetaclass for any named location referenceGDPR, HIPAA, APPInumbers, pii
location_addressFull or partial physical mailing addressesCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pii
location_cityMunicipality names, including villages, towns, and citiesCPRA, GDPR, HIPAA, Quebec Privacy Act, APPIpii
location_coordinateGeographic positions referred to using latitude, longitude, and/or elevation coordinatesCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pii
location_countryCountry namesGDPR, APPIpii
location_stateState, province, territory, or prefecture namesGDPR, APPIpii
location_zipZip codes (including Zip+4), postcodes, or postal codesCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pii
moneyNames and/or amounts of currencynumbers, pii
nameNames of individuals, not including personal titles such as ‘Mrs.’ or ‘Mr.’CPRA, GDPR, HIPAA, Quebec Privacy Act, APPIpii
name_givenNames given to an individual, usually at birth; often first / middle names in Western cultures and middle / last names in Eastern culturesCPRA, GDPR, HIPAA, Quebec Privacy Act, APPIpii
name_familyNames indicating a person’s family or community; often a last name in Western cultures and first name in Eastern culturesCPRA, GDPR, HIPAA, Quebec Privacy Act, APPIpii
name_medical_professionalNames including the title of a medical professional, such a “Doctor”CPRA, GDPR, HIPAA, Quebec Privacy Act, APPIpii
numerical_piiNumerical PII that doesn’t fall under other categoriesCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pii
occupationJob titles or professionsQuebec Privacy Act, APPIpii
ordinalNumerical expressions in ordinal form
originTerms indicating nationality, ethnicity, or provenanceCPRA, GDPR, GDPR Sensitive, Quebec Privacy Act, APPI Sensitivepii
passport_numberPassport numbers, issued by any countryCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pii
passwordAccount passwords, PINs, access keys, or verification answersCPRA, APPInumbers, pii, pin
percentNumerical expressions as percentages
phone_numberTelephone or fax numbersCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pii
physical_attributeDistinctive bodily attributes, including terms indicating raceCPRA, GDPR, GDPR Sensitive, APPI Sensitivepii
ssnSocial Security Numbers or international equivalent government identification numbersCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pii
timeExpressions indicating clock timesnumbers, pii
urlInternet addressesCPRA, GDPR, HIPAA, Quebec Privacy Actpii
usernameUsernames, login names, or handlesCPRA, GDPR, APPIpii
vehicle_idVehicle identification numbers (VINs), vehicle serial numbers, and license plate numbersCPRA, GDPR, HIPAA, APPInumbers, pii

PHI (Protected Health Information)

LabelDescriptionRegulatory ComplianceRedaction Groups
conditionNames of medical conditions, diseases, syndromes, deficits, disordersCPRA, GDPR, HIPAA, Quebec Privacy Act, APPI Sensitivephi
drugMedications, vitamins, and supplementsCPRA, GDPR, HIPAA, Quebec Privacy Act, APPI Sensitivephi
injuryBodily injuries, including mutations, miscarriages, and dislocationsCPRA, GDPR, HIPAA, Quebec Privacy Act, APPI Sensitivephi
blood_typeBlood typesCPRA, GDPR, HIPAA, Quebec Privacy Actphi
medical_processMedical processes, including treatments, procedures, and testsCPRA, GDPR, HIPAA, Quebec Privacy Act, APPI Sensitivephi
statisticsMedical statisticsHIPAA, Quebec Privacy Actnumbers, phi

PCI (Payment Card Industry)

LabelDescriptionRegulatory ComplianceRedaction Groups
credit_cardCredit card numbersCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pci
credit_card_expirationExpiration date of a credit cardCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pci, expiration
cvv3- or 4-digit card verification codes and equivalentsCPRA, GDPR, HIPAA, Quebec Privacy Act, APPInumbers, pci

Other Entities

LabelDescriptionRegulatory ComplianceRedaction Groups
languageNames of natural languagesGDPR, GDPR Sensitive, APPI Sensitivepii
marital_statusTerms indicating marital statusAPPI Sensitivepii
organizationNames of organizations or departments within an organizationQuebec Privacy Act, APPIpii
political_affiliationTerms referring to a political party, movement, or ideologyCPRA, GDPR, GDPR Sensitive, Quebec Privacy Act, APPI Sensitivepii
religionTerms indicating religious affiliationCPRA, GDPR, GDPR Sensitive, Quebec Privacy Act, APPI Sensitivepii
routing_numberRouting number associated with a bank or financial institutionnumbers
zodiac_signNames of Zodiac signspii