Skip to content

List active workers and the job each holds

GET
/admin/jobs/workers

One entry per running job = one busy worker (#400). Carries the worker id (claimed_by), the held job, and lease state (lease_expires_at, lease_stale). Gated on system.jobs.read (or system.admin).

Active workers with their held jobs.

object
items
required
Array<object>
object
claimed_by
required

Worker id holding the job.

string
job_id
required
string format: uuid
type
required
string
priority
required
integer
attempts
required
integer
claimed_at
string format: date-time
nullable
lease_expires_at
string format: date-time
nullable
lease_stale
required

True when the lease has lapsed (RequeueStuckJobs will reclaim it).

boolean

Authentication required, missing, or invalid

object
error
required

Human-readable error summary

string
Example
the request could not be completed
Example
{
"error": "authentication required: sign in and retry with a valid session or API token"
}

Authenticated but missing required capabilities

object
error
required

Human-readable error summary

string
Example
the request could not be completed