Export workspace tables and schema to JSON

Download workspace table definitions or include permitted records, then verify the scope of the JSON file.

Use Database Manager to download table definitions for a workspace. A schema and data export also includes the records you’re allowed to export. For a spreadsheet of one filtered table, export its records to CSV.

Choose the export

  1. Switch to the workspace you want to export. In Settings → Database, open More options in the page toolbar.
  2. Select the option that matches what you need.
    • Export Schema downloads table definitions, including custom fields and relationships between included tables. Use it to review the structure without including record contents.
    • Export Schema + Data also adds permitted records from eligible workspace tables. Use it when you need the records alongside their definitions.
  3. Keep Database Manager open until the download finishes. Export Schema + Data prepares the file in the background and downloads it when ready. Select Cancel in the progress dialog if you no longer need the file.

These options require permission to manage the database schema and a workspace plan with import and export enabled. The data export also checks export access for each table and applies your record access.

Verify the downloaded JSON

Open the file and check the entities list for the tables and fields you expected. Each included definition carries its source table ID in _originalId, which can help you match tables with similar names. If you included data, check the records array on the tables you need and compare a few entries with the workspace.

The export covers workspace-owned tables. System and source-managed tables, including virtual tables, are excluded. Record documents are omitted. If a table appears in a schema-only export but is missing from Export Schema + Data, check whether you can export that table. If the table is present but its records array is empty, open the table and check which records your account can read.

Mainbase checks that you can still export each included table when the JSON file downloads. If the export fails after access changes, check the permissions with a workspace administrator and run a new export. To package a reusable workspace setup, see export a workspace blueprint.

Download a named database template

Import a workspace schema from a JSON export

Ask Mainbase AI

Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.

Open the AI assistant

Copy a question to get started

  • How do I create a Kanban view?
  • How do I invite a teammate?
  • Why is a record missing from this view?