---
title: "Export a workspace 🔒"
method: POST
path: "/workspaces/{workspaceId}/export"
tags: ["workspaces"]
---

# Export a workspace 🔒

`POST /workspaces/{workspaceId}/export`

This endpoint is only available on an enterprise license.

## Path parameters

- `workspaceId` string, required

## Request body

- WorkspaceExport
  - `encryptPassword` string, required — An optional password used to encrypt the export.
  - `excludeRows` boolean, required — Set whether the internal table rows should be excluded from the export.

## Response `200`

A gzip tarball containing the workspace export, encrypted if password provided.

## Changes

- **2025-08-12** `0338e46ff4d9` — 1 info
  - endpoint added
- **2023-03-06** `7de0ab0187e0` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/budibase/apis/budibase-api/changes/workspaces/:workspaceId/export/post.md)

---

[API](https://skmtc.dev/budibase/apis/budibase-api.md) · [All operations](https://skmtc.dev/budibase/apis/budibase-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/budibase/budibase-api/revisions/9c6f16fc652b/schema)
