Get Data Class Information
Retrieve a list of all data classes configured in Metlo.cURL
Response
Array of data class objects
Response Example
Data Class Object Structure
Machine-readable identifier for the data class (e.g.,
email, ssn, credit_card)Risk level associated with this data type:
HIGH: Critical sensitive data (SSN, credit cards, API keys)MEDIUM: Moderately sensitive data (emails, phone numbers)LOW: Less sensitive data (IP addresses, generic identifiers)NONE: Non-sensitive data
Human-readable name for display purposes
Common Data Classes
Metlo includes built-in detection for common sensitive data types:High Severity
Social Security Numbers
US SSNs in various formats
Credit Card Numbers
Major credit card formats (Visa, MasterCard, Amex, etc.)
API Keys
Common API key patterns from various services
Authentication Tokens
JWT tokens, OAuth tokens, session tokens
Driver's License
Driver’s license numbers
Passport Numbers
International passport numbers
Medium Severity
Email Addresses
Email addresses in standard format
Phone Numbers
Phone numbers in various international formats
Date of Birth
Birth dates in various formats
Physical Addresses
Street addresses and mailing addresses
Low Severity
IP Addresses
IPv4 and IPv6 addresses
MAC Addresses
Network hardware addresses
User IDs
Generic user identifiers
Data Field Management
While the Data Classes API provides information about data types, the Endpoints API includes operations for managing data fields on specific endpoints.Update Data Field Classes
Modify the data classes assigned to a specific data field:cURL
Request Body
Array of data class identifiers to assign
Where the data appears:
REQUEST_QUERY: URL query parametersREQUEST_HEADER: Request headersREQUEST_BODY: Request bodyRESPONSE_HEADER: Response headersRESPONSE_BODY: Response body
JSON path to the data field (e.g.,
user.email, items[0].name)Delete Data Field
Remove a data field classification:cURL
Update Data Field Entity
Assign an entity/owner to a data field:cURL
Update Data Field Path
Update the path for a data field:cURL
Clear All Sensitive Data
Remove all sensitive data classifications (use with caution):cURL
Bulk Delete Data Fields
Delete multiple data fields at once:cURL
Use Cases
Audit Sensitive Data Classifications
Retrieve all data classes to understand what types of sensitive data Metlo can detect:Filter by Severity
Get only high-severity data classes:Check for Specific Data Types
Verify if a specific data type is being detected:Data Sections
Data can be detected in various sections of API traffic:| Section | Description |
|---|---|
REQUEST_QUERY | URL query parameters |
REQUEST_HEADER | HTTP request headers |
REQUEST_BODY | Request payload |
RESPONSE_HEADER | HTTP response headers |
RESPONSE_BODY | Response payload |
For GraphQL endpoints, Metlo also analyzes
REQUEST_BODY, REQUEST_QUERY, and RESPONSE_BODY sections for GraphQL-specific data patterns.Best Practices
Review Default Classifications
Review Default Classifications
Periodically review the data classes to ensure they align with your organization’s data sensitivity policies.
Customize for Your Domain
Customize for Your Domain
While Metlo provides many built-in data classes, you may want to define custom classifications specific to your industry or business.
Monitor High-Severity Data
Monitor High-Severity Data
Pay special attention to endpoints handling HIGH severity data classes like credit cards and SSNs.
Regular Audits
Regular Audits
Regularly audit where sensitive data appears in your API traffic and ensure it’s properly protected.