---
title: "List all history queries"
method: GET
path: "/api/history"
tags: ["History Queries"]
---

# List all history queries

`GET /api/history`

Retrieves a list of all configured history queries

## Response `200`

Array of history query objects

- HistoryQueryLightDTO[]
  - `id` string, required — The unique identifier of the entity.
  - `creationDate` string — Represents an instant in time as an ISO 8601 string.
  - `lastEditInstant` string — Represents an instant in time as an ISO 8601 string.
  - `name` string, required — The name of the history query.
  - `description` string, required — Description of the history query's purpose.
  - `status` 'PENDING' | 'RUNNING' | 'ERRORED' | 'PAUSED' | 'FINISHED', required — Type representing the possible statuses for a history query.
  - `startTime` string, required — Start time for the data to be queried (ISO 8601 format).
  - `endTime` string, required — End time for the data to be queried (ISO 8601 format).
  - `southType` 'opcua' | 'mqtt' | 'modbus' | 'oianalytics' | 'ads' | 'folder-scanner' | 'ftp' | 'mssql' | 'mysql' | 'odbc' | 'oledb' | 'opc' | 'oracle' | 'osisoft-pi' | 'postgresql' | 'rest' | 'sftp' | 'sqlite', required — Type representing the possible types for a South connector.
  - `northType` 'opcua' | 'mqtt' | 'modbus' | 'oianalytics' | 'rest' | 'sftp' | 'aws-s3' | 'azure-blob' | 'console' | 'file-writer', required — Type representing the possible types for a North connector.

## Changes

- **2026-03-18** `d6e364e3cd4e` — 4 breaking, 2 info
  - removed the required property `items/createdAt` from the response with the `200` status
  - removed the required property `items/createdBy` from the response with the `200` status
  - removed the required property `items/updatedAt` from the response with the `200` status
  - removed the required property `items/updatedBy` from the response with the `200` status
  - …2 more
- **2026-03-17** `3bf1b221f6ef` — 2 warning, 4 info
  - removed the optional property `items/creationDate` from the response with the `200` status
  - removed the optional property `items/lastEditInstant` from the response with the `200` status
  - added the required property `items/createdAt` to the response with the `200` status
  - added the required property `items/createdBy` to the response with the `200` status
  - …2 more
- **2026-03-10** `88f262299d5e` — 4 warning, 2 info
  - removed the optional property `items/createdAt` from the response with the `200` status
  - removed the optional property `items/createdBy` from the response with the `200` status
  - removed the optional property `items/updatedAt` from the response with the `200` status
  - removed the optional property `items/updatedBy` from the response with the `200` status
  - …2 more
- …earlier changes not shown

[Full history](https://skmtc.dev/optimistiksas/apis/oibus-api/changes/api/history/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/d6e364e3cd4e/schema)
