Skip to contents

Configure payload history retention policies

Usage

payload_history_config(max_items = 100, max_age_hours = 24)

Arguments

max_items

Maximum number of payload entries to keep per endpoint (default 100)

max_age_hours

Maximum age in hours for payload entries (default 24)

Value

No return value, updates global configuration

Examples

if (interactive()) {
  # Keep more history items but for shorter time
  payload_history_config(max_items = 500, max_age_hours = 12)

  # Long-term storage with fewer items
  payload_history_config(max_items = 50, max_age_hours = 168) # 1 week
}