---
title: "Return alarms based on the condition"
method: GET
path: "/object/events/alarms/hostname/{hostname}"
tags: ["events"]
---

# Return alarms based on the condition

`GET /object/events/alarms/hostname/{hostname}`

## Request

- Base URL: `https://35.160.167.233:32708/netq/telemetry/v1`
- URL: `https://35.160.167.233:32708/netq/telemetry/v1/object/events/alarms/hostname/{hostname}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/nvidia/apis/cumulus-netq-2-0-0-api/docs/object/events/alarms/hostname/:hostname/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `hostname` string, required

## Query parameters

- `details` string, required
- `time` integer, required
- `duration` integer, required
- `bucket` integer, required
- `category` string
- `msg_type` string

## Response `200`

successful operation

- string[]

---

[API](https://skmtc.dev/nvidia/apis/cumulus-netq-2-0-0-api.md) - [All operations](https://skmtc.dev/nvidia/apis/cumulus-netq-2-0-0-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nvidia/apis/cumulus-netq-2-0-0-api/revisions/7f3260b68f45?raw)
