---
title: "Public Export Workflow Preview"
method: GET
path: "/v1/workflows/{workflow_id}/export/preview"
tags: ["V1 - Workflows"]
---

# Public Export Workflow Preview

`GET /v1/workflows/{workflow_id}/export/preview`

## Request

- Base URL: `https://api.app.noxus.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.app.noxus.ai/v1/workflows/{workflow_id}/export/preview`
- Auth: API key in header `X-API-Key`

Preview what will be exported for a workflow.

Returns a list of entities that would be exported along with any warnings
(e.g., KBs that are too large).

## Path parameters

- `workflow_id` string, required

## Query parameters

- `version_id` string, nullable

## Response `200`

Successful Response

- ExportPreviewResponse
  - `entities` ExportableReference[], required
    - `reference` string, required
    - `type` 'kb' | 'workflow' | 'assistant' | 'file' | 'inbox' | 'connection' | 'secret' | 'deployment' | 'table' | 'trigger', required
    - `version` string, nullable
    - `name` string, nullable
    - `icon` string, nullable
  - `warnings` ExportWarning[], required
    - `identifier` string, required
    - `name` string, nullable
    - `icon` string, nullable
    - `type` 'kb_too_large' | 'table_too_large' | 'file_too_large' | 'entity_not_found' | 'entity_access_error' | 'export_error' | 'triggers_not_exported' | 'app_deployment_not_exported' | 'secret_found', required
    - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/noxus/apis/noxus-backend.md) - [All operations](https://skmtc.dev/noxus/apis/noxus-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/noxus/apis/noxus-backend/revisions/0e37810b7ad5?raw)
