# HashiCorp Nomad

> Run, dispatch, scale and stop Nomad jobs, see their status, allocations and logs, restart allocations, drain nodes and keep Nomad Variables up to date. Start a workflow when a job, allocation or deployment fails, or a node goes down.

App · 17 actions. Web page: https://docs.lodol.com/docs/integrations/hashicorp-nomad

## Actions

### Delete variable

Delete a Nomad Variable and all its keys. Nomad keeps no history, so it can't be brought back.

**Inputs**

- Path (`path`, text, required): The variable's path, as Nomad's Variables page shows it, such as apps/web/config.
- Only if unchanged since (`cas_index`, number): A modify index from 'Get variable': it is deleted only if nothing changed it since. Leave blank to delete it anyway. At least 1.

**Outputs**

- `deleted` (true/false): False when there was no variable there
- `keys` (list): The keys it had
- `path` (text): The variable's path

**Example output**

```json
{
  "deleted": true,
  "keys": [
    "db_host"
  ],
  "path": "apps/old/config"
}
```

### Dispatch job

Start a run of a parameterized job, such as a report or a backup, with a payload and meta values for it to use.

**Inputs**

- Job (`job_id`, text, required): The parameterized job's ID, as Nomad's Jobs page shows it, such as web.
- Payload (`payload`, text): Text for the job to read, such as JSON; Nomad writes it to the file the job's dispatch_payload names. Up to 16 KB.
- Meta (`meta`, object): Names and values the job reads as NOMAD_META_<name>, such as customer and acme. Only names the job's parameterized block allows.

**Outputs**

- `dispatched_job_id` (text): The run it started, such as report/dispatch-1794347625-f85613cb
- `eval_id` (text): The ID of the evaluation Nomad made to act on it
- `job_id` (text): The parameterized job
- `link` (text): A link to the run in Nomad
- `meta` (object): The meta sent with it

**Example output**

```json
{
  "dispatched_job_id": "report/dispatch-1794347625-f85613cb",
  "eval_id": "65081436-ede0-f4e9-37f8-2583e4f9a277",
  "job_id": "report",
  "link": "https://nomad.example.com:4646/ui/jobs/report%2Fdispatch-1794347625-f85613cb@default",
  "meta": {
    "customer": "acme"
  }
}
```

### Drain node

Drain a node before maintenance, such as a reboot: Nomad moves its allocations to other nodes and places nothing new on it. Or stop a drain.

**Inputs**

- Node (`node`, text, required): The node (client machine), by its name or ID, such as worker-1.
- Drain (`enable`, true/false): On to drain the node, off to stop draining it. Default: `true`.
- Deadline (minutes) (`deadline_minutes`, number): How long allocations get to move before Nomad stops what's left. 0 waits as long as it takes. Leave blank for 60. Only when Drain is `true`. At least 0.
- Leave system jobs running (`ignore_system_jobs`, true/false): Keep system jobs (such as log shippers) on the node. Only when Drain is `true`. Default: `false`.
- Reason (`reason`, text): Why, shown in Nomad, such as Kernel update. Only when Drain is `true`.
- Take new work again (`mark_eligible`, true/false): Let Nomad place new allocations on the node again. Only when Drain is `false`. Default: `true`.

**Outputs**

- `address` (text): Its address
- `datacenter` (text): Its datacenter
- `drain_deadline_minutes` (number): How long the drain may take, in minutes; 0 when it was turned off or has no deadline
- `drain_status` (text): How its last drain went: draining, complete or canceled; empty if never drained
- `draining` (true/false): True while it is being drained
- `drivers` (list): The task drivers working on it, such as docker
- `eligibility` (text): eligible or ineligible
- `eligible` (true/false): True when Nomad may place new work on it
- `id` (text): The node's ID
- `link` (text): A link to the node in Nomad
- `name` (text): The node's name
- `node_class` (text): Its node class, if it has one
- `node_pool` (text): Its node pool
- `short_id` (text): The first 8 characters of its ID, as Nomad shows it
- `status` (text): initializing, ready, down or disconnected
- `status_description` (text): Why it has that status, when Nomad says
- `version` (text): The Nomad version it runs

**Example output**

```json
{
  "address": "10.0.0.21",
  "datacenter": "dc1",
  "drain_deadline_minutes": 60,
  "drain_status": "draining",
  "draining": true,
  "drivers": [
    "docker",
    "raw_exec"
  ],
  "eligibility": "ineligible",
  "eligible": false,
  "id": "52aa801d-ad79-af47-6667-2dfe52faf893",
  "link": "https://nomad.example.com:4646/ui/clients/52aa801d-ad79-af47-6667-2dfe52faf893",
  "name": "worker-1",
  "node_class": "",
  "node_pool": "default",
  "short_id": "52aa801d",
  "status": "ready",
  "status_description": "",
  "version": "2.1.1"
}
```

### Get job status

See how a job is doing: its status and version, each task group's running and failed allocations, and its latest deployment.

**Inputs**

- Job (`job_id`, text, required): The job's ID, as Nomad's Jobs page shows it, such as web.

**Outputs**

- `allocations` (object): How many of its allocations are queued, starting, running, complete, failed, lost and unknown
- `children` (object): For a periodic or parameterized job, how many of its runs are pending, running and dead
- `datacenters` (list): The datacenters it may run in
- `id` (text): The job's ID
- `latest_deployment` (object): Its latest deployment: id, status (running, successful, failed, cancelled), description and job_version; empty for a job without one
- `link` (text): A link to the job in Nomad
- `meta` (object): The job's meta keys and values
- `name` (text): The job's name
- `namespace` (text): The namespace, such as default
- `parameterized` (true/false): True for a job that runs when dispatched
- `parent_id` (text): For one run of a periodic or parameterized job, its job
- `periodic` (true/false): True for a job that runs on a schedule
- `priority` (number): The job's priority, 1 to 100
- `region` (text): The region, such as global
- `stable` (true/false): True when this version deployed successfully
- `status` (text): pending, running or dead
- `status_description` (text): Why it has that status, when Nomad says
- `stopped` (true/false): True when someone stopped the job
- `submitted_at` (text): When this version was submitted, ISO 8601 UTC
- `task_groups` (list): Its task groups
- `type` (text): service, batch, system or sysbatch
- `version` (number): The job's version, counting from 0; each change adds one

**Example output**

```json
{
  "allocations": {
    "complete": 2,
    "failed": 0,
    "lost": 0,
    "queued": 0,
    "running": 3,
    "starting": 0,
    "unknown": 0
  },
  "children": {
    "dead": 0,
    "pending": 0,
    "running": 0
  },
  "datacenters": [
    "dc1"
  ],
  "id": "web",
  "latest_deployment": {
    "description": "Deployment completed successfully",
    "id": "3f9ebb80-c3c6-91fc-6974-1dff666e1127",
    "job_version": 4,
    "status": "successful"
  },
  "link": "https://nomad.example.com:4646/ui/jobs/web@default",
  "meta": {
    "team": "payments"
  },
  "name": "web",
  "namespace": "default",
  "parameterized": false,
  "parent_id": "",
  "periodic": false,
  "priority": 50,
  "region": "global",
  "stable": true,
  "status": "running",
  "status_description": "",
  "stopped": false,
  "submitted_at": "2026-11-02T09:14:03Z",
  "task_groups": [
    {
      "complete": 2,
      "count": 3,
      "failed": 0,
      "lost": 0,
      "name": "web",
      "queued": 0,
      "running": 3,
      "tasks": [
        "server"
      ]
    }
  ],
  "type": "service",
  "version": 4
}
```

### Get task logs

Read the last lines a task printed, its output or its errors, such as to send with an alert when it fails.

**Inputs**

- Allocation (`allocation_id`, text, required): The allocation, by its ID or the 8 characters Nomad shows, such as 8d2f1c3a. 'List job allocations' gives it.
- Task (`task`, text): The task. Leave blank when the allocation runs only one.
- Which log (`stream`, text): Its output or its errors. One of: `stdout` (Standard output), `stderr` (Errors (stderr)). Default: `stdout`.
- Lines (`lines`, number): How many of the last lines, up to 1000. Leave blank for 50. From 1 to 1000.

**Outputs**

- `allocation_id` (text): The allocation's ID
- `line_count` (number): How many lines
- `lines` (list): The last lines, oldest first
- `link` (text): A link to the task's logs in Nomad
- `more_before` (true/false): True when the log has earlier lines than these
- `stream` (text): stdout or stderr
- `task` (text): The task
- `text` (text): The lines as one text

**Example output**

```json
{
  "allocation_id": "8d2f1c3a-5b7e-4a10-9c2d-0e6f7a8b9c01",
  "line_count": 2,
  "lines": [
    "connecting to db.internal:5432",
    "error: connection refused"
  ],
  "link": "https://nomad.example.com:4646/ui/allocations/8d2f1c3a-5b7e-4a10-9c2d-0e6f7a8b9c01/server/logs",
  "more_before": false,
  "stream": "stderr",
  "task": "server",
  "text": "connecting to db.internal:5432\nerror: connection refused"
}
```

### Get variable

Read a Nomad Variable's keys and values, such as an app's settings, to use in a later step. One that isn't there comes back with found false rather than failing the step. The values are in the step's result, so anyone who can see this workflow's runs can see them.

**Inputs**

- Path (`path`, text, required): The variable's path, as Nomad's Variables page shows it, such as apps/web/config.

**Outputs**

- `found` (true/false): False when there is no variable at that path
- `items` (object): Its keys and values
- `keys` (list): Its keys
- `link` (text): A link to the variable in Nomad
- `modified_at` (text): When it last changed, ISO 8601 UTC
- `modify_index` (number): Its modify index; give it to 'Only if unchanged since' to write only if nothing changed it since
- `namespace` (text): The namespace, such as default
- `path` (text): The variable's path, such as apps/web/config

**Example output**

```json
{
  "found": true,
  "items": {
    "db_host": "10.0.0.5",
    "feature_x": "on"
  },
  "keys": [
    "db_host",
    "feature_x"
  ],
  "link": "https://nomad.example.com:4646/ui/variables/var/apps/web/config@default",
  "modified_at": "2026-11-02T09:14:03Z",
  "modify_index": 220,
  "namespace": "default",
  "path": "apps/web/config"
}
```

### List job allocations

List a job's allocations (the copies of it Nomad placed on nodes), newest first, with the node each is on, its status and how each task is doing, or only those with a status, such as failed.

**Inputs**

- Job (`job_id`, text, required): The job's ID, as Nomad's Jobs page shows it, such as web.
- Status (`status`, text): Only allocations with this status. One of: `any` (Any status), `running`, `pending`, `complete`, `failed`, `lost`. Default: `any`.

**Outputs**

- `allocations` (list): Its allocations, newest first
- `by_status` (object): How many listed are in each status
- `count` (number): How many are listed
- `job_id` (text): The job's ID
- `link` (text): A link to the job's allocations in Nomad

**Example output**

```json
{
  "allocations": [
    {
      "client_status": "running",
      "created_at": "2026-11-02T09:14:03Z",
      "description": "Tasks are running",
      "desired_status": "run",
      "failed_tasks": [],
      "id": "8d2f1c3a-5b7e-4a10-9c2d-0e6f7a8b9c01",
      "job_id": "web",
      "job_version": 4,
      "link": "https://nomad.example.com:4646/ui/allocations/8d2f1c3a-5b7e-4a10-9c2d-0e6f7a8b9c01",
      "modified_at": "2026-11-02T09:14:09Z",
      "name": "web.web[0]",
      "namespace": "default",
      "node_id": "52aa801d-ad79-af47-6667-2dfe52faf893",
      "node_name": "worker-1",
      "short_id": "8d2f1c3a",
      "task_group": "web",
      "tasks": [
        {
          "exit_code": null,
          "failed": false,
          "finished_at": "",
          "last_event": "Task started by client",
          "name": "server",
          "restarts": 0,
          "started_at": "2026-11-02T09:14:09Z",
          "state": "running"
        }
      ]
    }
  ],
  "by_status": {
    "running": 1
  },
  "count": 1,
  "job_id": "web",
  "link": "https://nomad.example.com:4646/ui/jobs/web@default/allocations"
}
```

### List jobs

List the jobs in the connection's namespace with their status and how many allocations are running or failed, such as for a status report, or only those with a status or type.

**Inputs**

- Status (`status`, text): Only jobs with this status. One of: `any` (Any status), `running`, `pending`, `dead` (Dead (finished, stopped or failed)). Default: `any`.
- Type (`job_type`, text): Only jobs of this type. One of: `any` (Any type), `service`, `batch`, `system`, `sysbatch` (System batch). Default: `any`.
- ID starts with (`prefix`, text): Only jobs whose ID starts with this, such as web-.
- Include runs of periodic and parameterized jobs (`include_runs`, true/false): Also list each run a periodic or parameterized job started, such as nightly-backup/periodic-1794347625. Default: `false`.

**Outputs**

- `by_status` (object): How many jobs listed are pending, running and dead
- `count` (number): How many jobs are listed
- `jobs` (list): The jobs, by ID
- `namespace` (text): The namespace, such as default
- `truncated` (true/false): True when there were more than 1000 and the rest were left out

**Example output**

```json
{
  "by_status": {
    "running": 2
  },
  "count": 2,
  "jobs": [
    {
      "allocations": {
        "complete": 0,
        "failed": 0,
        "lost": 0,
        "queued": 0,
        "running": 3,
        "starting": 0,
        "unknown": 0
      },
      "children": {
        "dead": 0,
        "pending": 0,
        "running": 0
      },
      "datacenters": [
        "dc1"
      ],
      "id": "web",
      "link": "https://nomad.example.com:4646/ui/jobs/web@default",
      "name": "web",
      "namespace": "default",
      "parameterized": false,
      "parent_id": "",
      "periodic": false,
      "priority": 50,
      "status": "running",
      "stopped": false,
      "submitted_at": "2026-11-02T09:14:03Z",
      "type": "service"
    },
    {
      "allocations": {
        "complete": 0,
        "failed": 0,
        "lost": 0,
        "queued": 0,
        "running": 0,
        "starting": 0,
        "unknown": 0
      },
      "children": {
        "dead": 12,
        "pending": 0,
        "running": 0
      },
      "datacenters": [
        "dc1"
      ],
      "id": "nightly-backup",
      "link": "https://nomad.example.com:4646/ui/jobs/nightly-backup@default",
      "name": "nightly-backup",
      "namespace": "default",
      "parameterized": false,
      "parent_id": "",
      "periodic": true,
      "priority": 50,
      "status": "running",
      "stopped": false,
      "submitted_at": "2026-11-02T09:14:03Z",
      "type": "batch"
    }
  ],
  "namespace": "default",
  "truncated": false
}
```

### List nodes

List the nodes (client machines) with their status, whether they are draining or take new work, and their working drivers, or only those with a status, such as down.

**Inputs**

- Status (`status`, text): Only nodes with this status. One of: `any` (Any status), `ready`, `down`, `disconnected`, `initializing`. Default: `any`.

**Outputs**

- `by_status` (object): How many listed are in each status
- `count` (number): How many are listed
- `draining` (number): How many listed are draining
- `ineligible` (number): How many listed don't take new work
- `nodes` (list): The nodes, by name

**Example output**

```json
{
  "by_status": {
    "ready": 1
  },
  "count": 1,
  "draining": 0,
  "ineligible": 0,
  "nodes": [
    {
      "address": "10.0.0.21",
      "datacenter": "dc1",
      "drain_status": "",
      "draining": false,
      "drivers": [
        "docker",
        "raw_exec"
      ],
      "eligibility": "eligible",
      "eligible": true,
      "id": "52aa801d-ad79-af47-6667-2dfe52faf893",
      "link": "https://nomad.example.com:4646/ui/clients/52aa801d-ad79-af47-6667-2dfe52faf893",
      "name": "worker-1",
      "node_class": "",
      "node_pool": "default",
      "short_id": "52aa801d",
      "status": "ready",
      "status_description": "",
      "version": "2.1.1"
    }
  ]
}
```

### Put variable

Set keys of a Nomad Variable, such as a new database address for jobs to read, creating it if it isn't there. Other keys stay unless 'Replace every key' is on.

**Inputs**

- Path (`path`, text, required): The variable's path, as Nomad's Variables page shows it, such as apps/web/config.
- Keys and values (`items`, object, required): Each key and its value, such as db_host and 10.0.0.5.
- Replace every key (`replace`, true/false): Keep only these keys, removing any others the variable has. Default: `false`.
- Only if unchanged since (`cas_index`, number): A modify index from 'Get variable': the change is refused if anything changed the variable since. 0 writes only if it doesn't exist yet. Leave blank to write whatever is there. At least 0.

**Outputs**

- `created` (true/false): True when the variable is new
- `items` (object): Its keys and values now
- `keys` (list): Its keys now
- `link` (text): A link to the variable in Nomad
- `modify_index` (number): Its modify index now
- `namespace` (text): The namespace, such as default
- `path` (text): The variable's path
- `removed_keys` (list): Keys it had that 'Replace every key' removed

**Example output**

```json
{
  "created": false,
  "items": {
    "db_host": "10.0.0.6",
    "feature_x": "on"
  },
  "keys": [
    "db_host",
    "feature_x"
  ],
  "link": "https://nomad.example.com:4646/ui/variables/var/apps/web/config@default",
  "modify_index": 231,
  "namespace": "default",
  "path": "apps/web/config",
  "removed_keys": []
}
```

### Restart allocation

Restart a running allocation's tasks where they are, such as to pick up a changed setting, or only one task.

**Inputs**

- Allocation (`allocation_id`, text, required): The allocation, by its ID or the 8 characters Nomad shows, such as 8d2f1c3a. 'List job allocations' gives it.
- Task (`task`, text): Only this task. Leave blank to restart every task.

**Outputs**

- `allocation_id` (text): The allocation's ID
- `job_id` (text): Its job
- `link` (text): A link to the allocation in Nomad
- `name` (text): Its name, such as web.web[0]
- `restarted` (true/false): True: Nomad restarted it
- `task` (text): The task restarted; empty when every task was

**Example output**

```json
{
  "allocation_id": "8d2f1c3a-5b7e-4a10-9c2d-0e6f7a8b9c01",
  "job_id": "web",
  "link": "https://nomad.example.com:4646/ui/allocations/8d2f1c3a-5b7e-4a10-9c2d-0e6f7a8b9c01",
  "name": "web.web[0]",
  "restarted": true,
  "task": ""
}
```

### Run job

Submit a job file to Nomad, like nomad job run: a new job starts, and a changed one is updated (rolling out as its update block says). The file is HCL, or the job's API JSON.

**Inputs**

- Job file (`spec`, text, required): The job file's contents, such as what is in web.nomad.hcl, or the job's API JSON.
- Variables (`variables`, object): Values for the job file's variables, such as image_tag and 1.4.2. HCL files only.
- Only if unchanged since (`check_index`, number): The job modify index from an earlier 'Run job': the job is refused if anything changed it since. 0 runs it only if it doesn't exist yet. Leave blank to run it anyway. At least 0.

**Outputs**

- `created` (true/false): True when the job is new
- `eval_id` (text): The ID of the evaluation Nomad made to act on it
- `job_id` (text): The job's ID
- `job_modify_index` (number): The job's modify index now; give it to 'Only if unchanged since' next time
- `link` (text): A link to the job in Nomad
- `namespace` (text): The namespace, such as default
- `type` (text): service, batch, system or sysbatch
- `version` (number): The job's version now; 0 for a new job
- `warnings` (list): What Nomad warned about the job, if anything

**Example output**

```json
{
  "created": false,
  "eval_id": "bc136b83-9d50-1a3a-8e56-18d7f7d7abb0",
  "job_id": "web",
  "job_modify_index": 1042,
  "link": "https://nomad.example.com:4646/ui/jobs/web@default",
  "namespace": "default",
  "type": "service",
  "version": 5,
  "warnings": []
}
```

### Run periodic job now

Start a run of a periodic job now rather than at its next scheduled time, such as a backup before a change.

**Inputs**

- Job (`job_id`, text, required): The periodic job's ID, as Nomad's Jobs page shows it, such as web.

**Outputs**

- `eval_id` (text): The ID of the evaluation Nomad made to act on it
- `job_id` (text): The periodic job
- `link` (text): A link to the run in Nomad
- `run_job_id` (text): The run it started, such as nightly-backup/periodic-1794347625

**Example output**

```json
{
  "eval_id": "b76ffe39-e8f2-90ab-b6df-a85d6850c91f",
  "job_id": "nightly-backup",
  "link": "https://nomad.example.com:4646/ui/jobs/nightly-backup%2Fperiodic-1794347625@default",
  "run_job_id": "nightly-backup/periodic-1794347625"
}
```

### Scale task group

Change how many copies of a job's task group Nomad runs, such as more web servers for a sale, or 0 to pause it.

**Inputs**

- Job (`job_id`, text, required): The job's ID, as Nomad's Jobs page shows it, such as web.
- Task group (`group`, text): The task group to scale. Leave blank when the job has only one.
- Count (`count`, number, required): How many to run, such as 3. At least 0.
- Reason (`message`, text): Why, shown in the job's scaling history, such as Black Friday.

**Outputs**

- `count` (number): How many it runs now
- `eval_id` (text): The ID of the evaluation Nomad made to act on it
- `group` (text): The task group
- `job_id` (text): The job's ID
- `link` (text): A link to the job in Nomad
- `previous_count` (number): How many it ran before
- `warnings` (list): What Nomad warned about, if anything

**Example output**

```json
{
  "count": 5,
  "eval_id": "bc136b83-9d50-1a3a-8e56-18d7f7d7abb0",
  "group": "web",
  "job_id": "web",
  "link": "https://nomad.example.com:4646/ui/jobs/web@default",
  "previous_count": 3,
  "warnings": []
}
```

### Set node eligibility

Stop Nomad placing new allocations on a node, leaving what runs there alone, or let it place them again.

**Inputs**

- Node (`node`, text, required): The node (client machine), by its name or ID, such as worker-1.
- Takes new work (`eligible`, true/false): On to let Nomad place new allocations on it, off to stop it. Default: `true`.

**Outputs**

- `address` (text): Its address
- `datacenter` (text): Its datacenter
- `drain_status` (text): How its last drain went: draining, complete or canceled; empty if never drained
- `draining` (true/false): True while it is being drained
- `drivers` (list): The task drivers working on it, such as docker
- `eligibility` (text): eligible or ineligible
- `eligible` (true/false): True when Nomad may place new work on it
- `id` (text): The node's ID
- `link` (text): A link to the node in Nomad
- `name` (text): The node's name
- `node_class` (text): Its node class, if it has one
- `node_pool` (text): Its node pool
- `short_id` (text): The first 8 characters of its ID, as Nomad shows it
- `status` (text): initializing, ready, down or disconnected
- `status_description` (text): Why it has that status, when Nomad says
- `version` (text): The Nomad version it runs

**Example output**

```json
{
  "address": "10.0.0.21",
  "datacenter": "dc1",
  "drain_status": "",
  "draining": false,
  "drivers": [
    "docker",
    "raw_exec"
  ],
  "eligibility": "ineligible",
  "eligible": false,
  "id": "52aa801d-ad79-af47-6667-2dfe52faf893",
  "link": "https://nomad.example.com:4646/ui/clients/52aa801d-ad79-af47-6667-2dfe52faf893",
  "name": "worker-1",
  "node_class": "",
  "node_pool": "default",
  "short_id": "52aa801d",
  "status": "ready",
  "status_description": "",
  "version": "2.1.1"
}
```

### Stop allocation

Stop one allocation, such as a stuck one; Nomad places a new one for its job, on the same node or another.

**Inputs**

- Allocation (`allocation_id`, text, required): The allocation, by its ID or the 8 characters Nomad shows, such as 8d2f1c3a. 'List job allocations' gives it.

**Outputs**

- `allocation_id` (text): The allocation's ID
- `eval_id` (text): The ID of the evaluation Nomad made to act on it
- `job_id` (text): Its job
- `link` (text): A link to the allocation in Nomad
- `name` (text): Its name, such as web.web[0]

**Example output**

```json
{
  "allocation_id": "8d2f1c3a-5b7e-4a10-9c2d-0e6f7a8b9c01",
  "eval_id": "70a945f2-6558-d739-fa76-11ed722f95c7",
  "job_id": "web",
  "link": "https://nomad.example.com:4646/ui/allocations/8d2f1c3a-5b7e-4a10-9c2d-0e6f7a8b9c01",
  "name": "web.web[0]"
}
```

### Stop job

Stop a job: Nomad stops all its allocations. A stopped job can be run again; purging also removes it and its history from Nomad for good.

**Inputs**

- Job (`job_id`, text, required): The job's ID, as Nomad's Jobs page shows it, such as web.
- Purge (`purge`, true/false): Also remove the job and its history from Nomad, for good. Default: `false`.

**Outputs**

- `eval_id` (text): The ID of the evaluation Nomad made to act on it
- `job_id` (text): The job's ID
- `link` (text): A link to the job in Nomad; empty once purged
- `purged` (true/false): True when it was also purged, for good
- `stopped` (true/false): True: the job was stopped

**Example output**

```json
{
  "eval_id": "70a945f2-6558-d739-fa76-11ed722f95c7",
  "job_id": "web",
  "link": "https://nomad.example.com:4646/ui/jobs/web@default",
  "purged": false,
  "stopped": true
}
```
