---
title: "Get the metrics of the latest scan all process"
method: GET
path: "/scans/all/metrics"
tags: ["scanAll"]
---

# Get the metrics of the latest scan all process

`GET /scans/all/metrics`

Get the metrics of the latest scan all process

## Headers

- `X-Request-Id` string

## Response `200`

OK

- Stats — Stats provides the overall progress of the scan all process.
  - `total` integer — The total number of scan processes triggered by the scan all action
  - `completed` integer — The number of the finished scan processes triggered by the scan all action
  - `metrics` object — The metrics data for the each status
  - `ongoing` boolean — A flag indicating job status of scan all.
  - `trigger` 'Manual' | 'Schedule' | 'Event' — The trigger of the scan all job.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `412` — Precondition failed
- `500` — Internal server error

---

[API](https://skmtc.dev/cerit/apis/harbor-api.md) · [All operations](https://skmtc.dev/cerit/apis/harbor-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cerit/harbor-api/revisions/62d78801f8df/schema)
