---
title: "get log source alarm"
method: GET
path: "/log-source-alarms/{sourceId}/{type}"
tags: ["log source alarm"]
---

# get log source alarm

`GET /log-source-alarms/{sourceId}/{type}`

Get a specific alarm for a log source

## Path parameters

- `sourceId` string, uuid, required — The ID of the log source
- `type` 'SOURCE_NO_DATA', required — The alarm type. Only SOURCE_NO_DATA is exposed.

## Response `200`

OK response.

- LogSourceAlarmAPISourceAlarm
  - `minutesThreshold` integer — The no-data evaluation period in minutes.
  - `state` 'OK' | 'ALARM' | 'INSUFFICIENT_DATA' — The current CloudWatch state of the alarm
  - `type` 'SOURCE_NO_DATA', required — The alarm type

## Other responses

- `400` — bad_request: Bad Request response.
- `404` — not_found: Not Found response.
- `500` — service: Internal Server Error response.
- `504` — timeout: Gateway Timeout response.

---

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