v36

latestOpenAPI 3.0.3GNU General Public License v3.0raw.githubusercontent.com2026-08-017758212.6 KB
workflows

Publish a workflow file

Creates a new published_workflow record from the latest version and snapshots the provided assets.

post/api/userdata/{file}/publish

Path parameters

filestring required

The workflow file path within the user's data directory (URL encoded if necessary).

Request body

asset_idsstring[] required

IDs of assets (inputs and models) to snapshot.

Response

Workflow published

listedboolean required
publish_timestring date-time nullable
share_idstring required
workflow_idstring required