---
title: "GET /bundles/{spaceId}/export"
method: GET
path: "/bundles/{spaceId}/export"
tags: ["Bundle"]
---

# GET /bundles/{spaceId}/export

`GET /bundles/{spaceId}/export`

## Request

- Base URL: `https://www.taskade.com/api/v1`
- URL: `https://www.taskade.com/api/v1/bundles/{spaceId}/export`
- Auth: OAuth 2 and HTTP bearer
  - Authorization code: `https://www.taskade.com/oauth2/authorize`
  - Token URL: `https://www.taskade.com/oauth2/token`

Export a space (subspace / app) as a JSON bundle (SpaceBundleData v1). Returns all agents, automations, projects, templates, and apps. Media items are excluded — use the ZIP export or download media separately via the media endpoints.

## Path parameters

- `spaceId` string, required

## Response `200`

Exported workspace bundle

- object: Exported workspace bundle
  - `ok` true, required
  - `item` object, required: SpaceBundleData v1 — Workspace DNA bundle.
    - `version` '1', required: Bundle format version.
    - `items` object, required: Map of bundle items keyed by ID. Each item has a `type` field: space-bundle-flow-item, space-bundle-project-item, space-bundle-agent-item, space-bundle-template-item, space-bundle-media-item, space-bundle-app-item, space-bundle-agent-team-item. Agent-team items name their members by SOURCE agent id in `agentIds`; the importer remaps them and drops any member whose agent is not also in the bundle.

## Other responses

- `402`: Payment required: the workspace plan does not include app bundle export. The body carries code "PAYMENT_REQUIRED" and featureId "space.bundle.export".
- `4XX`: Error description

---

[API](https://skmtc.dev/taskade/apis/taskade-public-api-v1.md) - [All operations](https://skmtc.dev/taskade/apis/taskade-public-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/taskade/apis/taskade-public-api-v1/revisions/55e17fe72d22?raw)
