Skip to main content
Each of these is a whole task rather than one call, in every client that can do it. They assume a connected client:
On a machine that is running RenderFlow, drop the address and the key entirely. Everything below works against http://localhost:44442/api/v1 with no credential, which is how a plugin on a workstation submits.

Submit a sequence and wait for it to be ready

wait=true is the difference between 201 with a job you can act on and 202 with one still being built. Use it in a script; leave it out in a submitter that should not hold an application open. The path is the one thing worth being careful about. It has to be reachable from every render machine, so a UNC path or a mapped share, never C:/Users/.... A local path submits fine and fails on every machine but yours.

Submit jobs that run one after another

A batch of jobs renders in the order it was submitted when each job depends on the one before it. A dependency names a job that already exists, so submit the jobs one at a time and pass each new id into the next job’s dependencies:
A dependent job starts when the job it depends on completes. When that job fails, the next one waits until the failed job is reset and completes, so a failure holds the rest of the batch rather than rendering past it. Each job keeps its own name, priority and pool, and appears as its own row in the jobs table.

Build a multi-step job by reading one back

A step tree is the steps array, and each step’s configuration is its props, the same tagged union the submitter fills in. Rather than assembling that from the schema, build the chain once in the submitter and read it back:
This is the honest recommendation rather than a shortcut: the submitter is the thing that knows how a Video Encoder step wires to the render before it, and a tree it produced is a tree that works. JobCreate and JobStepCreate in the API reference are the schema when you want to read it.

Follow a job to completion, without polling

settled resolves on completed or failed, answers null when the job is no longer there, and does not treat a stop as an end. In TypeScript it subscribes before it reads, which is what stops a job finishing in the gap; in Python it polls, so it needs no thread and survives a proxy that refuses an upgrade. Both SDKs have on, and the WebSocket page shows the Python version of a wait that is pushed rather than polled.

Find out why a job failed

The one a pipeline TD runs most: the failed tasks, and the tail of each log.
A negative offset counts back from the end, so -20 is the last twenty lines. A render log is long and the reason is at the bottom, so that is almost always the read you want. GET /errors?job_id=... is the other half of the picture: the farm’s own recorded errors, as against one process’s output.

Pull a frame

full is transcoded on demand, so it costs the farm real work. A wall display asks for thumb; a person looking at one frame asks for preview.

Requeue everything one machine failed, then take it out

The sequence after a machine has been misbehaving: give its work back to the farm, then stop it taking more.
suspended kills the task the machine is on. finishing is the polite version: it stops taking new work and loses nothing, which is what you want if the machine is merely going to be rebooted.

Archive everything that finished a week ago

A nightly job. The archive is a separate collection, so archiving is a move rather than a delete, and restoring puts the job back with the same id.
The farm can also do this without you: Settings, Job Cleanup archives on an age rule, and POST /schedule puts anything else on a clock. Write the script when the rule has to be yours.

Submit from inside a DCC

The case the Python client’s no-dependency rule exists for. A shelf button in Maya, running in Maya’s own interpreter, with nothing installed:
The same shape works in Houdini, Nuke and VRED: sys.path gets the folder holding renderflow, and the rest is the same three calls. The Python SDK page has the reasoning. You do not have to write a dialog of your own either. Call farm.jobs.open_submitter(body=...) with the same body instead of create_job, and RenderFlow opens its own submitter with the job and the scene’s properties filled in from it, the way its Submit to RenderFlow buttons do. The job is created when the artist presses Submit.

The numbers a wall dashboard needs

Two calls, both counted on the server. Do not total a list yourself: a farm has more tasks than you want to page through.
On a job summary, jobs is how many jobs there are and every other number is tasks. Then subscribe to jobs and nodes on the socket and the dashboard never has to ask again.

Tell a production tracker when a render finishes

Which mechanism to use depends on whether anything of yours is running to receive it. Nothing of yours running: use a webhook. The farm calls you. One subscription covers every job, and the webhooks page covers signature verification, which is the part that matters.
One job, one message, one person: use a notification at submit time instead. It is stored on the job and disappears with it, which is exactly right for “tell the lighting lead when this one is done”. A recipe does not take notifications, so send a step tree, read back as in Build a multi-step job by reading one back:
Neither works if something has to happen partway through a job. A webhook only fires when a job, step or task changes state, so it cannot do work of its own. For anything that must happen between two renders, add it as a step in the chain instead: it runs on the farm, it has a log, the next step waits for it, and it can be retried on its own.