> ## Documentation Index
> Fetch the complete documentation index at: https://biobase.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Where your data lives

> What stays on this device, what reaches the model, and what Infera Cloud keeps.

Your workspace folder stays on your computer. Three things leave it while you work: the request that goes to the model, the files a step of an analysis needs, and, only if you turn backup on, the folder itself.

```mermaid theme={null}
flowchart LR
  subgraph device["Your computer"]
    folder["Workspace folder<br/>your files and the agent's outputs"]
    appdata["BioBase app data<br/>conversation of a private workspace"]
  end

  model["Model provider<br/>produces the answer"]
  env["Cloud analysis environment<br/>runs the agent's code"]

  subgraph cloud["Infera Cloud"]
    records["Operational records<br/>run status, timing, token counts, billing"]
    stored["Workspace backup<br/>only while backup is on"]
  end

  folder -->|"your message, recent conversation,<br/>contents of the files it reads"| model
  folder -->|"files a step needs"| env
  env -->|"outputs, then the environment is cleared"| folder
  folder -.->|"backup on"| stored
  device --> records
```

## On this device

Each Data Agent workspace works in a local folder, and BioBase writes the agent's outputs into it. A workspace you open from Infera Cloud without choosing a folder downloads into the BioBase folder in Documents, or into the **Data Agent workspace folder** set in Settings.

BioBase also keeps its own records in its application data folder on this device, apart from your workspace folders. These include the sync index, the conversation of each private workspace, temporary copies made while files transfer, and versions you restore with **Save a copy**.

## Backup off by default

Backup is off for every new workspace. With backup off, the workspace is private: Infera Cloud doesn't save its conversation or its workspace files. Files copied for an analysis are covered under [Where code runs](#where-code-runs). The session appears in your account with the title **Private workspace**; the real title stays on this device.

For a private workspace, Infera keeps operational records: the session's status, the timing and token counts of each run, and billing records.

## What reaches the model

The backup switch states its scope: "Nothing is saved to Infera Cloud. File contents are sent to the model to answer your question."

Each request sends your message, the recent conversation, and the contents of files the agent reads. A model provider processes these contents to produce the answer. File contents pass through Infera on their way to the model. Infera deletes these temporary copies when the turn ends, and any copy that cleanup misses expires automatically within minutes.

## Where code runs

Code the Data Agent writes runs in a cloud analysis environment. Files a step needs are copied there for that turn. In a private workspace, BioBase brings the outputs into your folder, then clears the environment.

If an output can't be brought back or clearing fails, the files stay in the analysis environment so BioBase can recover them. BioBase tries again to copy the outputs and clear the environment when you open that workspace and each time you send a message in it, and deleting the workspace also clears it. If the workspace has no folder on this device when an analysis finishes, BioBase deletes that analysis from the environment and lists the outputs it could not save. If none of these happens, Infera clears the environment automatically about a day after the analysis last ran, and any outputs not brought back by then are deleted with it. If clearing fails after every output is in your folder: "Every output is in your folder, but copies are still in the cloud analysis environment. BioBase tries again to delete them each time you send a message in this workspace."

Text printed by the agent's commands is kept in the analysis environment for a short recovery window, then deleted automatically. Deletion can be delayed while the analysis service is unavailable.

## Turning backup on and off

Turning backup on uploads the workspace folder to Infera Cloud, except the [excluded files](https://biobase.mintlify.site/your-data/backup-and-sync.md#what-is-not-backed-up), and keeps the conversation there from the next turn.

Turning backup off pulls the cloud copy of the conversation to this device, then removes the workspace's content from Infera Cloud and returns it to private. If the removal can't reach Infera: "Infera Cloud has not yet cleared this workspace. BioBase keeps everything here and will try again when the workspace is next opened."

## Analytics

The Privacy setting states that scientific content, chat text, credentials and file contents are excluded from analytics, and that collection stops for protected sessions, which include workspaces with backup off. See [Privacy](https://biobase.mintlify.site/settings/privacy.md).

## Next steps

> [card] [Backup and sync](https://biobase.mintlify.site/your-data/backup-and-sync.md)
>
> Turn on backup and read a workspace's sync state.

> [card] [Privacy and analytics](https://biobase.mintlify.site/settings/privacy.md)
>
> The analytics notice and when collection stops.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.