Rename one of the caller's pipelines
const url = 'http://localhost:8300/v1/studio/pipelines/example';const options = { method: 'PATCH', headers: { 'x-api-key': '<x-api-key>', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"title":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url http://localhost:8300/v1/studio/pipelines/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data '{ "title": "example" }'version + 1 (an editor holding the old version gets 409 on its next PUT).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Pipeline UUID (malformed = 404)
Request Bodyrequired
Section titled “Request Bodyrequired”object
Trimmed; blank = 422
Example generated
{ "title": "example"}Responses
Section titled “Responses”The pipeline
object
The pipeline it was copied or saved from (it may be gone since); null otherwise
1 on create, +1 on every PUT and PATCH
Every step’s workflow id → its title now (an unknown one left out), for the cards
object
object
The title in the batch’s snapshot
The session its runs are in; null after that session was deleted
Queued: stored, the engine has not started it; running; waiting: the engine reports running but every row that has not ended is waiting on a gate (pick to continue); paused (reason says why: by you, three rows in a row failed with one error, or the engine restarted: press Resume); done: every row ended (some may have failed); failed: the engine could not run it at all (reason); stopped: by Stop. events, except queued.
What the owner asked for last (Pause, Resume, Stop); status follows once the engine confirms. While pause or paused, the dispatcher holds the batch’s queued runs
Why it is paused or failed; null otherwise
Rows by BatchRow.status; queued, running, waiting, succeeded, failed and cancelled add up to total
object
Rows parked on a gate (“waiting for a pick”)
The engine first reported running
Done, failed or stopped
A batch of a pipeline: the pipeline (it may be deleted since); absent or null for a batch of one workflow, whose workflow_* then describe it. For a pipeline batch workflow_id / workflow_title are its first step’s
With pipeline_id: the title in the batch’s snapshot
With pipeline_id: the version it was submitted with
With pipeline_id: the collection its output node names (the first output, by node id)
A pipeline batch: its worst case per row at Submit
object
Generation runs: Σ over steps of seeds × branches × visits (branches: a fanned-out step’s list max, else 1)
Judge, write and decide visits (each one ask run, at most 2 tries; a re-ask after a failed check is a second run)
Agent visits × max_tool_calls
Requests to remote providers (a re-ask included), per row; the director’s chat is per batch (egress)
Their token bound per row
With a director only, whatever its model source: its chat’s worst case per batch (not per row): calls max_wakes × max_turns × 2 (a re-ask included; local models: queue items), tokens max_wakes × max_tokens, tool_calls max_wakes × max_tool_calls
object
When an agent declares rows.add: the most rows agents may add to a batch (100), each with the per-row worst case
A pipeline batch: judge, write and decide node id → the ask workflow it runs (resolved at Submit, in the snapshot)
object
Made by “Run again” of this batch
A pipeline batch: what leaves the machine, as at Submit
One node whose calls leave this process for a model server: exactly what is sent (Submit shows it). fields: the parts of the prompt, by name: instruction, question, routes, each from source, items, tool:<tool> (tool results go back to the model), chat (the director’s chat), input:<field> (a custom node’s)
object
Server: a local server (its calls are queue items); remote: a remote provider; network: a custom node that calls the network
The worst case per row (a re-ask included)
object
A pipeline batch: local servers’ reserved memory
A local server the pipeline uses, and the memory the host reserves for it (always, while the provider is enabled)
object
object
The director agent node
Idle: asleep until a message or a row ends; waiting: its turn’s call is queued or held (Pause); thinking: a call or its tools run; off: the batch ended or max_wakes reached (POST …/chat is 409)
object
Requests sent (re-asks included; network retries not)
Tokens the providers reported
Transport failures (retried); counted apart from answers and verdicts
A sequence’s Re-render (pipeline_id null, pipeline_title “Re-render · pipeline_version = the revision); absent or null otherwise
Only from GET /v1/studio/pipelines/{pipeline_id}, POST and PUT; empty = it can run
One broken pipeline rule, the same shape as Problem: node the pipeline node, port a bind key (<node>.<param> of the step’s workflow) or from for an output, param an input name or a step input key
object
May grow in a minor version; an unknown code blocks running
Human text; not stable
With problems when nothing blocks saving
object
Generation runs: Σ over steps of seeds × branches × visits (branches: a fanned-out step’s list max, else 1)
Judge, write and decide visits (each one ask run, at most 2 tries; a re-ask after a failed check is a second run)
Agent visits × max_tool_calls
Requests to remote providers (a re-ask included), per row; the director’s chat is per batch (egress)
Their token bound per row
With a director only, whatever its model source: its chat’s worst case per batch (not per row): calls max_wakes × max_turns × 2 (a re-ask included; local models: queue items), tokens max_wakes × max_tokens, tool_calls max_wakes × max_tool_calls
object
When an agent declares rows.add: the most rows agents may add to a batch (100), each with the per-row worst case
With bounds
One node whose calls leave this process for a model server: exactly what is sent (Submit shows it). fields: the parts of the prompt, by name: instruction, question, routes, each from source, items, tool:<tool> (tool results go back to the model), chat (the director’s chat), input:<field> (a custom node’s)
object
Server: a local server (its calls are queue items); remote: a remote provider; network: a custom node that calls the network
The worst case per row (a re-ask included)
object
With bounds
A local server the pipeline uses, and the memory the host reserves for it (always, while the provider is enabled)
object
Trimmed; blank = 422
object
object
The card’s title; absent = derived by the client
The batch’s columns, in order
object
Unique in the node; a batch column is <inputs node id>.<name>; a step binds it as $<name>
A pipeline input’s type: Text fills a string/text param, Int an int, Float a float, Seed a seed, Image an image param (or a rows param with one Image field, as a one-item list)
Absent = the name
The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)
object
object
The card’s title; absent = derived by the client
A template slug or one of the caller’s workflow UUIDs
Runs per visit, with consecutive seeds in the workflow’s seed param
A preset of the workflow’s studio.presets, applied first
Fixed values (<node>.<param>, as RunRequest.inputs), after the preset; never a take
object
Null only for a seed (random) or an image, media, span or voice param left empty
An Image value: a take of the caller, by id. The only way a client names an image; never an object key or URL. Studio checks it when it creates the run.
object
A Media value: a video or audio take of the caller, by id. in / out (seconds of the take’s own time; studio snaps them: a video’s frames, audio to the millisecond) only on a param with trim: the part it reads (absent: 0 / the take’s end). Never an object key or URL.
object
A span param’s value: a time range on the workflow’s one video media source, in that take’s own seconds (Retake: the stretch to regenerate)
object
A voice value: a saved voice the caller can use, by id: one of the caller’s own (a UUID) or a starter voice (<family>/<pack voice id>). Never a key, a URL or the voice’s fields; studio resolves it when it creates the run.
object
One item of a rows value: field (the param’s item) → value
object
Null only for a seed (random) or an image, media, span or voice param left empty
An Image value: a take of the caller, by id. The only way a client names an image; never an object key or URL. Studio checks it when it creates the run.
object
A Media value: a video or audio take of the caller, by id. in / out (seconds of the take’s own time; studio snaps them: a video’s frames, audio to the millisecond) only on a param with trim: the part it reads (absent: 0 / the take’s end). Never an object key or URL.
object
A Lora value (a rows item field of ref kind Lora): a LoRA the caller can use, by id; never a path, key or URL. Studio checks it when it creates the run.
object
A voice value: a saved voice the caller can use, by id: one of the caller’s own (a UUID) or a starter voice (<family>/<pack voice id>). Never a key, a URL or the voice’s fields; studio resolves it when it creates the run.
object
Workflow param <node>.<param> ← a source, applied last
object
$<input> (a pipeline input), <step>.takes (that step’s takes from its latest visit), <gate>.picked / <judge>.picked (its latest pick)
The looks every run of this step is made with (as RunRequest.looks); missing = []
Fan out: one branch per item of this agent’s or write’s list (<producer>.items), at most its list.max; binds read the branch’s item as <producer>.item. Later nodes read <step>.takes as every branch’s takes, branch order then seed order
The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)
object
object
The card’s title; absent = derived by the client
The step whose latest takes are the candidates
A pick is 1 to keep of the candidates
The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)
object
object
The card’s title; absent = derived by the client
The takes the row ends with
Names the collection (Batch.collection)
The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)
object
: a vision-language model checks a step’s takes against the checklist, keeps the best keep and gives reasons; its pass / fail edges are a branch like a gate’s
object
The card’s title; absent = derived by the client
The step whose latest takes it judges
A judge’s checklist: a take passes when every must line holds; nice lines only order the takes that pass. 1 to 12 lines in all, none twice (judge_criteria). Missing list = []
object
Keep the best K of the takes (at most the step’s seeds)
Suggest: the row parks like a gate with the judge’s pick pre-selected (a fail with loops left retries without parking); auto: it picks alone
auto or an ask workflow (media: text) the caller can run: qwen-image-ask (Qwen Image’s own text encoder, no extra load after a Qwen step), llm-ask (Qwen3.8 27B); absent model = its default) and remote:<provider>/<model> (a remote provider: needs the pipeline’s remote switch). A judge needs a local model (it sends thumbnails; server and remote models get text only)
A memory read node before it: the user’s past picks at this judge (judge examples) and notes go into its prompt; absent = no memory (“Memory: Off”)
The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)
object
Writes text from its sources (a rewritten prompt from a judge’s reasons) into a Text input for the rest of the row; mentions in the answer are expanded by studio like any prompt
object
The card’s title; absent = derived by the client
Text sources, in order: $<Text input>, <judge>.reasons, <memory>.notes
The Text input it overwrites ($prompt): later binds of it read the new text. Required without list, absent with it (write_target)
The node answers a list of texts (a shot list), 1 to max items, read only by a step’s each (<node>.items; each branch binds <node>.item). Its mentions follow the write rule
object
The fan-out’s declared maximum: Submit’s worst case uses it
Script = the answer is a dialogue script (@handle (style): text lines, template write-script/v1) for a $<input> bound to a script param; not with list
auto or an ask workflow (media: text) the caller can run: qwen-image-ask (Qwen Image’s own text encoder, no extra load after a Qwen step), llm-ask (Qwen3.8 27B); absent model = its default) and remote:<provider>/<model> (a remote provider: needs the pipeline’s remote switch). A judge needs a local model (it sends thumbnails; server and remote models get text only)
The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)
object
Routes the row along one of its declared routes from a structured answer (its routes edge maps each label to a node)
object
The card’s title; absent = derived by the client
Text sources, in order: $<Text input>, <judge>.reasons, <memory>.notes
Route label → what it means (the model reads it)
object
auto or an ask workflow (media: text) the caller can run: qwen-image-ask (Qwen Image’s own text encoder, no extra load after a Qwen step), llm-ask (Qwen3.8 27B); absent model = its default) and remote:<provider>/<model> (a remote provider: needs the pipeline’s remote switch). A judge needs a local model (it sends thumbnails; server and remote models get text only)
The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)
object
object
The card’s title; absent = derived by the client
Only notes with this key; absent = every note
At most this many examples and this many notes, newest first
The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)
object
object
The card’s title; absent = derived by the client
Text sources, in order: $<Text input>, <judge>.reasons, <memory>.notes
The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)
object
: an LLM agent with tools, a loop of model turns. It ends a visit with no tool call (one plain edge), with route (a routes edge, like a decide’s), and with set_items before that when it has a list. director: true also gives the batch a chat with it
object
The card’s title; absent = derived by the client
What it is for (Turn the script into a shot list, one prompt per shot, using the @elements in it.)
Text sources it reads, as a write’s; missing = []
From the fixed set; rows.edit only with director (agent_tools); missing = []
Route label → meaning; present: its only edge is a routes edge with these labels (decide_routes)
object
The node answers a list of texts (a shot list), 1 to max items, read only by a step’s each (<node>.items; each branch binds <node>.item). Its mentions follow the write rule
object
The fan-out’s declared maximum: Submit’s worst case uses it
Hard caps per visit (the director’s chat: per wake). Reaching one ends the visit: an item failure (<node>: stopped at <n> turns), counted in the worst case
object
Model calls (each a queue item, or a remote request)
Prompt + answer tokens over the visit’s turns
auto or an ask workflow (media: text) the caller can run: qwen-image-ask (Qwen Image’s own text encoder, no extra load after a Qwen step), llm-ask (Qwen3.8 27B); absent model = its default) and remote:<provider>/<model> (a remote provider: needs the pipeline’s remote switch). A judge needs a local model (it sends thumbnails; server and remote models get text only)
The pipeline’s director (at most one: director_count): its batches get a chat
Director only: which row ends wake it (a message always does)
Director only: wakes per batch; then its chat is off
The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)
object
Fields as GET /v1/studio/custom-nodes lists them; its output fields are sources <id>.<field>. One plain edge
object
The card’s title; absent = derived by the client
The registered name
Fixed input field values (JSON); missing = {}
object
Input field ← a source (a string field: a text source or Text input; a take-id list field: a takes source); missing = {}
object
$<input> (a pipeline input), <step>.takes (that step’s takes from its latest visit), <gate>.picked / <judge>.picked (its latest pick)
The card’s top-left in the Graph view, canvas pixels; absent = laid out by the client (elkjs, “Tidy layout”)
object
Calls that leave the machine. Off by default (absent = off); a remote: model or a network custom node needs enabled and its provider in providers (remote_not_enabled), and the deployment’s remote switch (remote_off). The caps are per batch, over every row and the director’s chat; a call past one fails its row (remote cap reached)
object
Remote providers this pipeline may call; missing = []
Example
{ "nodes": { "additionalProperty": { "kind": "inputs", "inputs": [ { "type": "Text" } ] } }, "edges": [ [ "still", "review" ] ], "remote": { "enabled": false, "max_calls": 200, "max_tokens": 400000 }}Missing or invalid x-api-key (Kong), or missing/invalid/expired/revoked bearer token
object
Example generated
{ "detail": "example"}Not found
object
Example generated
{ "detail": "example"}Invalid input
object
Example generated
{ "detail": "example"}Retryable
object
Example generated
{ "detail": "example"}