Usage Metrics
Reporting & Analytics
Usage Metrics
GET
Usage Metrics
Retrieve usage metrics and statistics for KYC operations. Track checks, validations, errors, and watchlist activity over time.
Common validation errors:
Endpoint
Authentication
Requiresusage:read permission. Include your Bearer token in the Authorization header.
Query Parameters
Granularity Options
| Granularity | Description | Default Period |
|---|---|---|
hour | 24 hourly data points for a specific day | Requires date parameter |
day | Daily data points for a specific month | Default, up to 30 days |
month | Monthly data points for up to 12 months | Default: 1 month |
Request Example
Additional Request Examples
Daily Granularity (Specific Month)
Hourly Granularity (Specific Day)
Monthly Granularity (Last 6 Months)
Invalidate Cache
Legacy Format
Response Format
Success Response (Daily Granularity)
Success Response (Hourly Granularity)
Metric fields with zero values are always included in the response for consistent data structure across all time periods.
Success Response (Monthly Granularity)
Legacy Response Format
When usinglegacy=true, the response follows a simplified format for backward compatibility:
The legacy format only returns current month data and a simplified metric set. For detailed metrics and historical data, use the standard response format.
Response Fields
| Field | Type | Description |
|---|---|---|
tenant_id | string | Your tenant identifier |
granularity | string | Time granularity used |
period | object | Period parameters (year_month, date, or months) |
data | array | Array of timestamped metric objects |
summary | object | Aggregated totals across all periods |
Metric Fields
Each data point contains:| Field | Type | Description |
|---|---|---|
check_count | integer | Total KYC list checks performed |
validation_count | integer | Successful screening validations |
error_count | integer | Failed validations/errors |
watchlist_scan_count | integer | Number of watchlist scans executed |
watchlist_invocation_count | integer | Total watchlist invocations (subjects × lists) |
Batch Processing Metrics
| Field | Type | Description |
|---|---|---|
batch_usage_count | integer | Total batch processing usage |
batch_job_count | integer | Number of batch jobs submitted |
batch_job_completed_count | integer | Batch jobs completed successfully |
batch_job_partial_count | integer | Batch jobs completed with partial success |
batch_job_failed_count | integer | Batch jobs that failed |
Adverse Media Metrics
| Field | Type | Description |
|---|---|---|
adverse_media_check_count | integer | Total adverse media checks |
adverse_media_success_count | integer | Successful adverse media checks |
adverse_media_error_count | integer | Failed adverse media checks |
adverse_media_high_risk_count | integer | High risk findings |
adverse_media_medium_risk_count | integer | Medium risk findings |
adverse_media_low_risk_count | integer | Low risk findings |
adverse_media_clear_count | integer | Clear (no findings) results |
Web Validation Metrics
| Field | Type | Description |
|---|---|---|
web_validation_check_count | integer | Total web validation checks |
web_validation_success_count | integer | Successful web validations |
web_validation_error_count | integer | Failed web validations |
Crypto Wallet Metrics
| Field | Type | Description |
|---|---|---|
crypto_check_count | integer | Total crypto wallet checks |
crypto_check_success_count | integer | Successful crypto checks |
crypto_check_error_count | integer | Failed crypto checks |
Usage Examples
Python Example
JavaScript Example
Error Responses
400 Bad Request - Invalid Parameters
- Invalid date format
- Future dates/months
- Invalid granularity value
- Missing required
dateparameter forhourgranularity monthsout of range (must be 1-12)
403 Forbidden - Missing Permission
403 Forbidden - Missing Tenant
Status Codes
| Code | Description |
|---|---|
| 200 | Success |
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Missing or invalid token |
| 403 | Forbidden - Insufficient permissions |
| 500 | Internal Server Error |
Caching
- Responses are cached for 5 minutes
- Use
cache_bust=trueto force fresh data - Cache headers:
Cache-Control: max-age=300 - With
cache_bust:Cache-Control: no-cache, no-store
Data Characteristics
- Gap Filling: All periods (even with zero activity) are included for continuous charts
- Immutability: Historical data never changes, so responses are cacheable
- Real-time: Current day/hour data updates as requests are processed
- Retention: Metrics are retained for at least 12 months