Private outputs
Run a project privately so each person's results, variables and input values stay their own, while code and files stay shared.
With private outputs on, a project runs privately: everyone works on the same notebooks, but each person runs them on their own machine, and only they see the results. Turn them on when people query data with their own identity, for example through a BigQuery or Snowflake OAuth integration, and one person's results must never be shown to another.
This is different from a private project, which controls who can open a project. Private outputs control who sees the results inside it.
Turning on private outputs
Project admins and editors can turn on private outputs:
- Open the Settings panel from the top-right of your project and go to the Machine section.
- Under More options, set Private outputs to On.
- Confirm in the dialog.
When you connect an OAuth integration to a project that doesn't run privately, Deepnote suggests turning them on with the dialog Run this project privately?.
Private outputs are available on the Team and Enterprise plans, including the Team trial. If the plan lapses later, the project keeps running privately.
The page reloads after the change. The notebook status bar shows a Private outputs icon in every project that runs privately.
A duplicate of the project also runs privately, unless you uncheck Keep outputs private in the duplicate dialog.
What's shared and what's personal
| Shared with everyone in the project | Personal to each person |
|---|---|
| Code, notebooks and blocks | Block outputs and results |
| Project files | Variables |
| Comments | Input values you change |
| Input blocks and their Default value | Your machine |
| Integrations and machine settings | Your runs and run snapshots |
Input values you change stay in your browser and aren't saved. When you open the notebook again, including after a reload, inputs start from their Default value, which editors set in the block sidebar.
Workspace admins don't see other people's results either. People with View access can't run the notebook, so they see no results. Share a published app with them instead.
Machines
Everyone runs on their own machine in a project that runs privately, and each viewer session of a published app gets its own machine as well.
Every machine uses the project's machine type and environment. Changes to the machine settings apply to everyone from their next machine start. Machine time is billed to the workspace in machine hours.
What isn't available
These features aren't available in a project that runs privately, because their results would reach other people:
- Agent blocks stop with a message when they run.
- The Slack agent refuses requests about the project, because a Slack thread is shared.
- The terminal can't be opened.
- Exporting a table as CSV is refused, because the file would be saved to the shared project files.
- Modules from a project that runs privately can't be imported into other notebooks.
Schedules, apps and history
- Scheduled runs run on their owner's machine, with the owner's credentials for OAuth integrations, and only the owner sees their results. The option to update the notebook with the run's results isn't available.
- Published apps run in isolated mode: each viewer runs the app in their own session and sees only their own results.
- Run history shows each person only their own runs, including runs from before private outputs were turned on.
- The History tab shows who ran a notebook and when, never the results. View run is available only for your own runs.
- Version history keeps the code of every version. Viewing or restoring a version brings back its code without outputs.
- The audit log records when private outputs are turned on in a project.
Deepnote API and MCP
The Deepnote API and Deepnote MCP act as the person whose key or account calls them:
- Runs execute on the caller's own machine, and run lists and run reads return only the caller's runs.
- Checking, starting, stopping and restarting a machine act on the caller's own machine. See Managing machines with the Deepnote API.
- The MCP
get_blocktool returns the caller's own outputs.
Streamlit apps
A Streamlit app in a project that runs privately runs on the project's machine, as one app server for all viewers. Each viewer queries data with their own credentials through per-viewer authentication. The app can't read notebook outputs, because the notebooks have no shared results.
Streamlit's cache is shared by every viewer of the app. If a cached result depends on the viewer's credentials, one viewer's data can be served to another. To keep each viewer's data their own:
- Give a cached function whose result depends on the viewer's credentials the viewer as an argument, so each viewer gets their own cache entry.
- Never cache a warehouse connection or client with
st.cache_resource. Create it for each viewer. - Keep per-viewer data in
st.session_state, which belongs to one viewer's session.