---
title: "Get global jobs"
method: GET
path: "/api/global/jobs"
tags: ["Global"]
---

# Get global jobs

`GET /api/global/jobs`

## Request

- The document declares no server URL.
- Auth: none declared. Required headers: `Authorization`

Returns running and recently completed DB jobs, and current Restic tasks, across all clusters.

## Headers

- `Authorization` string, required

## Response `200`

OK

- ServerGlobalJobsResponse
  - `recentCompletedJobs` ServerGlobalJobEntry[]
    - `clusterName` string
    - `end` integer
    - `result` string
    - `serverId` string
    - `serverUrl` string
    - `start` integer
    - `state` integer
    - `stateLabel` string
    - `task` string
  - `resticCurrentTasks` ServerGlobalClusterResticTask[]
    - `clusterName` string
    - `currentTask` BackupmgrResticTaskState
      - `bytes_done` integer
      - `completed_at` string
      - `completed_snapshots` integer: snapshots completed during copy
      - `data_added` integer
      - `data_blobs` integer
      - `dirs_changed` integer
      - `dirs_new` integer
      - `dirs_unmodified` integer
      - `error` string
      - `files_changed` integer
      - `files_done` integer
      - `files_new` integer
      - `files_unmodified` integer
      - `last_update` string
      - `packs_done` integer: packs copied (copy task only)
      - `percent_done` number
      - `phase` string: init_destination or copy
      - `seconds_elapsed` integer
      - `snapshot_id` string
      - `started_at` string
      - `status` string: running, completed, failed
      - `task_id` integer
      - `task_type` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
      - `total_bytes` integer
      - `total_bytes_processed` integer
      - `total_duration` number
      - `total_files` integer
      - `total_files_processed` integer
      - `total_packs` integer: total packs to copy (copy task only)
      - `total_snapshots` integer: total snapshots to copy
      - `tree_blobs` integer
  - `runningJobs` ServerGlobalJobEntry[]
    - `clusterName` string
    - `end` integer
    - `result` string
    - `serverId` string
    - `serverUrl` string
    - `start` integer
    - `state` integer
    - `stateLabel` string
    - `task` string

## Other responses

- `401`: Unauthorized

## Changes

- **2026-10-05** `1bf429f49b60`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/signal18/apis/signal-18-dashboard-api/changes/api/global/jobs/get.md)

---

[API](https://skmtc.dev/signal18/apis/signal-18-dashboard-api.md) - [All operations](https://skmtc.dev/signal18/apis/signal-18-dashboard-api/llms.txt) - [OpenAPI document](https://skmtc.dev/signal18/apis/signal-18-dashboard-api/revisions/8ee8a1e31294?raw)
