Read retention state
retainUntilMs, storedBytes, monthlyStorageUsd, graceState, graceDeadlineMs, and warnings. A null retainUntilMs means there is no scheduled expiry.
Set an expiry
The create API acceptsretentionSeconds with a minimum of 60 seconds and no 24-hour maximum:
retention.json:
{} as retention.json and submit it to the same endpoint to clear scheduled expiry; null is also accepted for retentionSeconds.
Keep storage funded
Retained snapshot storage is metered by unique retained bytes and funded through prepaid credit. Runbead pricing or call GET /v1/pricing for current rates.
Storage funding uses credit grace and deadline warnings. Add credit before the reported grace deadline. Clearing an optional expiry does not remove the funding requirement.

