Skip to main content
Updates the retention and the settings of a stream. Send only the properties to change. The call requires streams.configure. On the _molesignal system streams it requires sys.telemetry.manage and changes only the retention, field indexes, extraction, masking, and downsampling. Body Settings:
The response is the updated stream. Retention and downsampling control when the compactor removes or rolls up data. A change affects later clean-ups and never restores deleted files or samples. The platform default for streams without a retention of their own is read with GET /api/v1/settings/stream_retention and set with PUT and the same body, { "retention_days": 30 }, both with sys.settings.manage in the system scope. retention_days is a whole number from 1 to 3650.
Last modified on October 26, 2026