Skip to main content

MetricsCleanupResponse

Response for cleanup operation

deleted_countinteger<int64>required

Number of metric records deleted

Possible values: >= 0

Example: 500
oldest_remainingstring,null<date-time>nullable

Timestamp of oldest remaining record

retention_daysstringrequired

Current retention setting

Example: 30
MetricsCleanupResponse
{
"deleted_count": 500,
"oldest_remaining": "2024-07-29T15:51:28.071Z",
"retention_days": "30"
}