Hanzo
OpenapiVisor

Returns the caller org's gpu-jobs render queue, each row tagged with the GPU it…

Returns the caller org's gpu-jobs render queue, each row tagged with the GPU it targets (empty = the shared any-GPU lane) and the node claiming it,…

GET /v1/visor/fleet/jobs

Addresshttps://api.hanzo.ai/v1/visor/fleet/jobs
MethodGET
OperationlistFleetJobs
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the caller org's gpu-jobs render queue, each row tagged with the GPU it targets (empty = the shared any-GPU lane) and the node claiming it, optionally narrowed to one GPU's queue and/or one status.

A job whose worker died — STARTED with an elapsed lease and not yet reclaimed — reads "stalled", not "running". Fail-soft: an unavailable tasks engine yields an empty queue rather than an error.

Request

2 fields.

FieldInTypeRequiredDescription
gpuquerystringGPU selects one node's lane: jobs TARGETED at it (gpu:<node>) or CLAIMED by it. The literal "shared" selects the any-GPU lane — no target, no claimant.
statusquerystringStatus selects one lifecycle state: queued, running, stalled, completed, failed or canceled.

Response

StatusBodyMeaning
200jobListok

200 body — 14 fields.

FieldInTypeAlwaysDescription
jobsbodygpuJob[]Jobs is the queue, most-recent-first.
jobs[].attemptbodyintegerAttempt is which try this is, counting from 1.
jobs[].closeTimebodystringCloseTime is when the job reached a terminal state, RFC 3339.
jobs[].failureCausebodystringFailureCause is the engine's reason the job failed.
jobs[].gpubodystringGPU is the node this job is aimed AT — the lane "gpu:<node>" it was submitted on.
jobs[].idbodystringID is the job's id, and the id the cancel route takes.
jobs[].labelbodystringLabel is the cheap human name for the render — the output filename prefix lifted out of the submitted graph. Empty when the graph carried none.
jobs[].lastHeartbeatbodystringLastHeartbeat is the claiming worker's most recent beat on this job, RFC 3339 — the evidence a long render is still alive rather than wedged.
jobs[].leaseExpirybodystringLeaseExpiry is when the worker's claim lapses, RFC 3339.
jobs[].runIdbodystringRunID identifies this execution of the job.
jobs[].startTimebodystringStartTime is when a worker began executing the job, RFC 3339.
jobs[].statusbodystringStatus is the job's lifecycle state: queued, running, completed, failed or canceled — plus "stalled", which is this surface's own reading of a job that is…
jobs[].typebodystringType is the work being done ("studio.render") — what the claiming worker has to be able to execute.
jobs[].workerbodystringWorker is the node that actually CLAIMED the job, which is not always the one it was aimed at: a shared-lane job has no GPU but does have a Worker once picked…

Failure carries the platform error shape — see Errors.

Examples

hanzo has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Visor API · All Hanzo APIs · Interactive reference

How is this guide?

On this page