---
title: "export a hub project"
method: GET
path: "/w/{workspace}/hub/projects/{slug}/export"
tags: ["hubPublish"]
---

# export a hub project

`GET /w/{workspace}/hub/projects/{slug}/export`

Requires the caller to be a workspace admin. Forwards the request to the
configured Hub and returns the Hub's status code and raw response body.
The folder scope is only needed to re-export the caller's own draft;
approved projects are public, so it is optional here.

## Path parameters

- `workspace` string, required
- `slug` string, required

## Query parameters

- `folder` string

## Response `200`

raw Hub response body (status code is passed through from the Hub)

## Changes

- **2026-07-23** `413ac0d995ec` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/windmill/apis/windmill-api/changes/w/:workspace/hub/projects/:slug/export/get.md)

---

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