Skip to main content
Previous sectionNext section

GET /api/sam/admin/config/keepdays

Get the number of days that SAM stores metrics and alerts

Description

This method gets the current value of the KeepDays configuration property.

To use this endpoint, you must log in as a user with access to the %SAM.Admin resource.

Request Example

GET /api/sam/admin/config/keepdays

Response Example

{
    "KeepDays": 2
}
Copy code to clipboard