---
title: "POST /v2/events"
method: POST
path: "/v2/events"
tags: ["events"]
---

# POST /v2/events

`POST /v2/events`

Add new assisted installer event.

## Request body

- Event
  - `name` string — Event Name.
  - `cluster_id` string, uuid, nullable — Unique identifier of the cluster this event relates to.
  - `host_id` string, uuid, nullable — Unique identifier of the host this event relates to.
  - `infra_env_id` string, uuid, nullable — Unique identifier of the infra-env this event relates to.
  - `severity` 'info' | 'warning' | 'error' | 'critical', required
  - `category` 'user' | 'metrics'
  - `message` string, required
  - `event_time` string, date-time, required
  - `request_id` string, uuid — Unique identifier of the request that caused this event to occur.
  - `props` string — Additional properties for the event in JSON format.

## Response `201`

Success.

## Other responses

- `400` — Error.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Error.
- `405` — Method Not Allowed.
- `409` — Cluster cannot accept new agents due to its current state.
- `500` — Error.
- `501` — Not implemented.
- `503` — Unavailable.

---

[API](https://skmtc.net/openshift/apis/assistedinstall.md) · [All operations](https://skmtc.net/openshift/apis/assistedinstall/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openshift/assistedinstall/revisions/9d0b4936ca97/schema)
