> For the complete documentation index, see [llms.txt](https://docs.tonic.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tonic.ai/app/workspace/managing-workspaces/workspace-export-import-config.md).

# Exporting and importing the workspace configuration

{% hint style="info" %}
**Required workspace permission:** Export and import workspace
{% endhint %}

You can export a workspace configuration to a JSON file, and import configuration from a workspace configuration JSON file.

For example, you might want to preserve a version of the workspace configuration before you test other changes. You can then use the exported file to restore the original configuration.

Or you might want to use a script to make changes to an exported configuration file. You can then import the updated file to update the workspace configuration.

## Information in the exported file <a href="#workspace-config-file-info" id="workspace-config-file-info"></a>

The workspace JSON configuration file includes the following information:

* Sensitivity designations that you assigned to columns
* Assigned table modes
* Assigned column generators
* Subsetting configuration
* Post-job script configuration

## Exporting the workspace configuration <a href="#workspace-export-config" id="workspace-export-config"></a>

To export the workspace configuration, either:

* On the workspace management view, from the download menu, select **Export Workspace**.

<figure><img src="/files/5wQ496YyNKVrpEalTP3E" alt=""><figcaption><p>Download menu for a workspace</p></figcaption></figure>

* On **Workspaces** view, click the actions menu for the workspace, then select **Export**.

![Workspace options column and dropdown list](/files/39M0yYtXgiLtBPn7OdH1)

When you export a child workspace, the exported workspace does not retain any of the inheritance information. The exported information is the same for all exported workspaces.

## Importing a workspace configuration file <a href="#workspace-import-config" id="workspace-import-config"></a>

To import a workspace configuration file:

1. Select the import option. Either:
   * On the workspace management view, from the download menu, select **Import Workspace**.
   * On **Workspaces** view, click the actions menu for the workspace, then select **Import**.
2. On the **Import Workspace** dialog, to select the file to import, click **Browse**.
3. After you select the file, click **Import**.

When you import a workspace configuration into a child workspace, Tonic Structural only updates the configuration that can be overridden. If a configuration must be inherited from the parent workspace, then it is not affected by the imported configuration. For more information, go to [About workspace inheritance](/app/workspace/managing-workspaces/workspaces-inheritance.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tonic.ai/app/workspace/managing-workspaces/workspace-export-import-config.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
