Templates

Get template version dry-run matched provisioners

Changed on
get/api/v2/templateversions/{templateversion}/dry-run/{jobID}/matched-provisioners

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v2/templateversions/{templateversion}/dry-run/{jobID}/matched-provisioners
  • Auth
    API key in header Coder-Session-Token

Path parameters

templateversionstring uuid required

Template version ID

jobIDstring uuid required

Job ID

Response

OK

availableinteger

Available is the number of provisioner daemons that are available to take jobs. This may be less than the count if some provisioners are busy or have been stopped.

countinteger

Count is the number of provisioner daemons that matched the given tags. If the count is 0, it means no provisioner daemons matched the requested tags.

most_recently_seenstring date-time

MostRecentlySeen is the most recently seen time of the set of matched provisioners. If no provisioners matched, this field will be null.

Changes