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’sdependencies:
Build a multi-step job by reading one back
A step tree is thesteps 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:
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.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.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: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.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.notifications, so send a step tree, read back as in Build a multi-step job by reading one back: