# 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/gt3sZUo6JJNhzRaXQlnt" 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
