---
title: "Export as Python"
method: POST
path: "/api/hub/workflows/{id}/export/python"
tags: ["Workflows"]
---

# Export as Python

`POST /api/hub/workflows/{id}/export/python`

## Request

- Base URL: `https://flowdot.ai/api`
- URL: `https://flowdot.ai/api/api/hub/workflows/{id}/export/python`
- Auth: HTTP bearer

Export workflow as executable Python code.

## Response `200`

Successful response

- object
  - `success` boolean
  - `data` object

---

[API](https://skmtc.dev/flowdot/apis/flowdot-api.md) · [All operations](https://skmtc.dev/flowdot/apis/flowdot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flowdot/apis/flowdot-api/revisions/93f63cc9c775?raw)
