---
title: "List all scan modes"
method: GET
path: "/api/scan-modes"
tags: ["Scan Modes"]
---

# List all scan modes

`GET /api/scan-modes`

Retrieves a list of all scan modes

## Response `200`

Array of scan mode objects

- ScanModeDTO[]
  - `id` string, required — The unique identifier of the entity.
  - `createdBy` UserInfo, required — Represents the user who performed an action, with a computed display name.
    - `id` string, required — The unique identifier of the user.
    - `friendlyName` string, required — A human-readable display name for the user. "OIAnalytics" for the oianalytics system user, "Admin" for the admin login, or "Firstname Lastname (login)" for regular users.
  - `updatedBy` UserInfo, required — Represents the user who performed an action, with a computed display name.
    - `id` string, required — The unique identifier of the user.
    - `friendlyName` string, required — A human-readable display name for the user. "OIAnalytics" for the oianalytics system user, "Admin" for the admin login, or "Firstname Lastname (login)" for regular users.
  - `createdAt` string, required — Represents an instant in time as an ISO 8601 string.
  - `updatedAt` string, required — Represents an instant in time as an ISO 8601 string.
  - `name` string, required — The name of the scan mode.
  - `description` string, required — A description of the scan mode's purpose or behavior.
  - `cron` string, required — A cron expression defining the scan schedule.

## Changes

- **2026-07-28** `9a6250881fa7` — 4 breaking
  - removed the required property `items/activationWindow` from the response with the `200` status
  - removed the required property `items/activationWindowExpired` from the response with the `200` status
  - removed the required property `items/interval` from the response with the `200` status
  - removed the required property `items/type` from the response with the `200` status
- **2026-07-28** `6c9a9144ca23` — 4 info
  - added the required property `items/activationWindow` to the response with the `200` status
  - added the required property `items/activationWindowExpired` to the response with the `200` status
  - added the required property `items/interval` to the response with the `200` status
  - added the required property `items/type` to the response with the `200` status
- **2026-07-15** `57cbe043ec5a` — 4 breaking
  - removed the required property `items/activationWindow` from the response with the `200` status
  - removed the required property `items/activationWindowExpired` from the response with the `200` status
  - removed the required property `items/interval` from the response with the `200` status
  - removed the required property `items/type` from the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/optimistiksas/apis/oibus-api/changes/api/scan-modes/get.md)

---

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