When to archive
- You’re done with a session and want to reclaim its cluster resources.
- You want to tidy up your sidebar without losing the record of what happened.
- You don’t need the session right now, but you may want to reference the conversation or pick up the work later.
Who can archive
- You can archive or restore any session you own.
- Admins can archive, restore, or delete any session in the organization.
Archive a session
- In the sidebar, hover the session and open its menu (the three-dot icon).
- Select Archive.
- Confirm the action.
Automatic archiving
Admins can configure Cake Agents to automatically archive sessions that have been idle for a set number of days. This keeps the sidebar tidy without anyone having to remember to clean up.- The sweep runs on a daily schedule.
- Only sessions that have been inactive longer than the configured threshold are archived.
- Cake Agents measures inactivity from the last time the agent finished a model response in the session. If the agent has never responded, Cake Agents measures from when the session was created. Pod restarts, deploys, and opening the session don’t count as activity.
- Starred sessions are always skipped.
- Sessions already archived or deleted are skipped.
Configure auto-archiving
This is an organization-wide setting. Only admins can change it.
- Go to Settings → Organization → General.
- Toggle Automatically archive inactive sessions on.
- Set Archive sessions after to the number of days of inactivity to allow (1–365).
- Optionally, select Archive now to run the rule immediately instead of waiting for the daily sweep. You’ll be asked to confirm before anything is archived.
0) disables auto-archiving.
Protect a session from auto-archiving
Star a session to exclude it from automatic archiving. Starred sessions are never touched by the sweep, no matter how long they’ve been idle. Unstar the session when you’re done, and it becomes eligible again on the next sweep.Find archived sessions
Use the sidebar filter to show archived sessions:- Select the filter icon next to Recent Sessions.
- Under By Status, select Archived.
What archiving preserves
Viewing archived messages inline is not yet available.
Restore an archived session
Restoring brings an archived session back to life with its files, git state, and conversation history intact. Cake Agents provisions a new pod and volume, and the pod unpacks the session’s archive from S3 before the agent starts. The session keeps its original ID, so existing links still work. Restoring requires S3 storage. The session must have been archived while S3 was configured.- Open the archived session, or find it in the sidebar with the Archived status filter.
- Open the session menu (the three-dot icon).
- Select Restore.
Deleted sessions can’t be restored.
A restored session’s volume starts at the configured starting volume size, not the size the volume had grown to before archiving.