Skip to main content

Logs Time to Live Settings Overview

You can use the Logs TTL Settings endpoint to retrieve and update settings controlling logs time-to-live (TTL).

The Logs TTL Settings Object

AttributeTypeDescription
daysintegerThe number of days to retain the logs. Allowed values are between 1 and 365.
typestringThe type represents the object being returned. You must use `time_to_live.

Sample Response

{
"data": {
"days": 10,
"type": "time_to_live"
}
}