job

whether the worker running this job is draining

Changed on

True once the worker running the job has received its shutdown signal. The worker still waits for the job to finish, so a long-running job can poll this to exit early. False when the job is not currently running on a worker.

get/w/{workspace}/jobs/worker_is_draining/{id}

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/jobs/worker_is_draining/{id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required
idstring uuid required

Response

whether the worker running this job is draining

boolean required

Changes