v36

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

Submit a workflow for execution

Submit a workflow to be executed by the backend. The workflow is a JSON object describing the nodes and their connections.

post/api/prompt

Request body

extra_dataobject

Extra data to be associated with the prompt

frontboolean

If true, adds the prompt to the front of the queue

numbernumber

Priority number for the queue (lower numbers have higher priority)

partial_execution_targetsstring[]

List of node names to execute

promptobject required

The workflow graph to execute

workflow_idstring

UUID identifying the cloud workflow entity to associate with this job

workflow_version_idstring

UUID identifying the workflow version to associate with this job

Response

Success - Prompt accepted

node_errorsobject

Any errors in the nodes of the prompt

numbernumber

Priority number in the queue

prompt_idstring uuid

Unique identifier for the prompt execution