On this page
Retention
How long your data is kept, and who controls that.
Retention is a workspace-level setting you control, not a fixed platform
constant. You choose from the retention periods your deployment offers -
3, 7, 30, or 90 days out of the box, with 30 as the default for a new
workspace. Your platform operator can change which periods are offered and the
default for new workspaces; options in the response below is always the
current list. If a period you are on stops being offered, your workspace keeps
it until you choose another.
curl https://api.obistack.com/v1/settings/retention \
-H "Cookie: session=<your session cookie>" \
-X PATCH -H "Content-Type: application/json" \
-d '{"retentionDays": 90}'
The response tells you what's actually in force, not just what you asked for:
{
"retentionDays": 90,
"effectiveRetentionDays": 90,
"retentionSource": "workspace",
"options": [3, 7, 30, 90],
"ceilingDays": 90
}
effectiveRetentionDays and retentionDays differ only when a
deployment-wide ceiling clamps your requested value - retentionSource
tells you which happened, so a support conversation never starts from "why
are my old logs missing" with no explanation available.
Raising versus lowering
Raising retention applies forward only - it does not un-delete anything already past the old window. Lowering retention deletes the newly out-of-window data through one audited, workspace-scoped path with no standing read access, not by a background job you have to trust silently.
What controls this, and what doesn't
Retention is enforced against a value stamped on each event server-side at ingest, never against anything a client sends with the event itself - the same rule as every other tenant-scoping decision this platform makes (see Tenant Isolation).