---
title: "List events"
method: POST
path: "/event/list"
tags: ["Events"]
---

# List events

`POST /event/list`

## Query parameters

- `page` integer
- `sizePage` integer
- `sortField` string
- `sortDirection` 'ASC' | 'DESC'

## Request body

- EventFilter
  - `idEventFilter` integer — Id EventFilter
  - `idGroupFilter` integer, nullable — Id group filter
  - `name` string — Name of the eventFilter
  - `idGroup` integer, nullable — Id group
  - `severity` object[], nullable — Severity event filter
    - `severity` integer, nullable — Event severity, the available severity are: maintenance, informational, normal, warning, critical, minor, major
  - `status` integer, nullable — Event status, the available status are: all, new, validated, inprocess, not_validated, not_in_process
  - `eventType` 'going_unknown' | 'unknown' | 'alert_fired' | 'alert_recovered' | 'alert_ceased' | 'alert_manual_validation' | 'recon_host_detected' | 'system' | 'error' | 'new_agent' | 'going_up_critical' | 'going_down_critical' | 'going_up_warning' | 'going_down_warning' | 'going_up_normal' | 'going_down_normal' | 'configuration_change' | 'ncm', nullable — Event status, the available status are: going_unknown, unknown, alert_fired, alert_recovered, alert_ceased, alert_manual_validation, recon_host_detected, system, error, new_agent, going_up_critical, going_down_critical, going_up_warning, going_down_warning, going_up_normal, going_down_normal, configuration_change, ncm
  - `search` string, nullable — Search in fields id, event, extraId, source and custom_data
  - `isNotSearch` boolean, nullable — Not search
  - `textAgent` string, nullable — Name agent
  - `idAgent` integer, nullable — Id agent
  - `idAgentModule` integer, nullable — Id agent module
  - `pagination` integer, nullable — Block size pagination
  - `slice` integer, nullable — Period search events 8h
  - `idUserAck` string, nullable — Id user ack
  - `groupBy` integer, nullable — Event filter group by, the available group by are: all, events, agents, extra_ids
  - `tagWith` object[], nullable — Tags filter
    - `idTags` integer, nullable — Tags id
  - `tagWithout` object[], nullable — Tags not filter
    - `idTags` integer, nullable — Tags id
  - `filterOnlyAlert` integer, nullable — Event filter event by, the available filter are: all, filter_alert_events, only_alert_events
  - `searchSecondaryGroups` boolean, nullable — Search in secondary groups
  - `searchRecursiveGroups` boolean, nullable — Search in recursive groups
  - `dateFrom` string, nullable — Search event registration date
  - `dateTo` string, nullable — Search event registration date
  - `source` string, nullable — Search source field
  - `idExtra` string, nullable — Search source idExtra
  - `userComment` string, nullable — Search source userComment
  - `idSourceEvent` integer, nullable — Search id source event
  - `serverId` object[], nullable — Server ids filter, only metaconsole
    - `idNode` integer, nullable — Node id
  - `timeFrom` string, nullable — Search event registration date
  - `timeTo` string, nullable — Search event registration date
  - `customData` string, nullable — Search custom data
  - `customDataFilterType` integer, nullable — Event filter event by, the available filter are: all, filter_alert_events, only_alert_events
  - `ownerUser` string, nullable — Search owner user
  - `privateFilterUser` string, nullable — Search private filter user
  - `regex` string, nullable — Search regex

## Response `200`

List Events Object

- object
  - `paginationData` PaginationData — Info pagination data
    - `totalPages` integer, nullable — Number of pages
    - `sizePage` integer, nullable — Items per page
    - `totalRegisters` integer, nullable — Number of items
    - `totalRegistersPage` integer, nullable — Number of items this page
    - `currentPage` integer, nullable — Number of current page
  - `data` Event[]
    - `idEvent` integer — Id event
    - `idAgent` integer, nullable — Id agent
    - `idUser` string, nullable — Id user
    - `idGroup` integer, nullable — Id group
    - `status` integer — Event status, the available status are: new, validated, inprocess
    - `timestamp` string, nullable — Event registration date
    - `event` string — Description event
    - `utimestamp` integer, nullable — Event registration date
    - `eventType` 'going_unknown' | 'unknown' | 'alert_fired' | 'alert_recovered' | 'alert_ceased' | 'alert_manual_validation' | 'recon_host_detected' | 'system' | 'error' | 'new_agent' | 'going_up_critical' | 'going_down_critical' | 'going_up_warning' | 'going_down_warning' | 'going_up_normal' | 'going_down_normal' | 'configuration_change' | 'ncm' — Event status, the available status are: going_unknown, unknown, alert_fired, alert_recovered, alert_ceased, alert_manual_validation, recon_host_detected, system, error, new_agent, going_up_critical, going_down_critical, going_up_warning, going_down_warning, going_up_normal, going_down_normal, configuration_change, ncm
    - `idAgentModule` integer, nullable — Id agent module
    - `idAlertAm` integer, nullable — Id alert action
    - `severity` integer — Event severity, the available severity are: maintenance, informational, normal, warning, critical, minor, major
    - `tags` string, nullable — Tags
    - `source` string, nullable — Source
    - `idExtra` string, nullable — Extra id
    - `criticalInstructions` string, nullable — Critical instructions
    - `warningInstructions` string, nullable — Warning instructions
    - `unknownInstructions` string, nullable — Unknows instructions
    - `ownerUser` string, nullable — Id user
    - `ackUtimestamp` integer, nullable — Event ack utimestamp
    - `customData` string, nullable — Custom data
    - `data` string, nullable — Data
    - `moduleStatus` integer, nullable — Module status
    - `eventCustomId` string, nullable — Events Custom Id

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/pandorafms/apis/api-pandora-fms.md) · [All operations](https://skmtc.net/pandorafms/apis/api-pandora-fms/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pandorafms/api-pandora-fms/versions/f18688ffd894/schema)
