---
title: "get events"
method: GET
path: "/v1/grendel/events"
tags: ["v1", "grendel"]
---

# get events

`GET /v1/grendel/events`

#### Controller: 

`github.com/ubccr/grendel/internal/api.(*Handler).GetEvents`

#### Middlewares:

- `github.com/go-fuego/fuego.defaultLogger.middleware`
- `github.com/ubccr/grendel/internal/api.(*Handler).authMiddleware`

---

## Headers

- `Accept` string

## Response `200`

OK

- Event[]
  - `JobMessages` object[], nullable
    - `data` string
    - `host` string
    - `msg` string
    - `redfish_error` object
      - `code` string
      - `error` object
        - `@Message.ExtendedInfo` object[]
          - `Message` string
          - `MessageArgs.@odata.count` integer
          - `MessageId` string
          - `RelatedProperties.@odata.count` integer
          - `Resolution` string
          - `Severity` string
        - `code` string
        - `message` string
    - `status` string
  - `Message` string
  - `Severity` string
  - `Time` string, date-time
  - `User` string

## Other responses

- `default` — Default Error

## Changes

- **2026-08-18** `62eb4acab992` — 4 breaking
  - the response property `items/JobMessages` became nullable for the status `200` (media type: application/json)
  - the response property `items/JobMessages` became nullable for the status `200` (media type: application/xml)
  - the response property `items/JobMessages/items/` became nullable for the status `200` (media type: application/json)
  - the response property `items/JobMessages/items/` became nullable for the status `200` (media type: application/xml)
- **2025-10-26** `12410be95557` — 2 info
  - added the optional property `items/JobMessages/items/data` to the response with the `200` status (media type: application/json)
  - added the optional property `items/JobMessages/items/data` to the response with the `200` status (media type: application/xml)
- **2025-03-21** `9e09e176e964` — 1 info
  - endpoint added
- **2024-12-03** `29c6a9c3f49b` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/ubccr/apis/grendel-api/changes/v1/grendel/events/get.md)

---

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