List alarm history
list_alarm_historiesGet Alarm Histories
When to use: 알람이 언제 실행됐고 조건을 충족했는지, 실제로 발송됐는지·실패했는지 최근 기록을 볼 때. 알람 하나만 보려면 alarm_setting_id 로 거른다.
Limitations: 삭제되지 않은 이 프로젝트 알람의 기록만 나온다 — 누가 만들었든 같은 프로젝트 멤버는 같은 알람 기록을 본다. 이 프로젝트에 없는 알람 id 로 거르면 오류 없이 빈 목록이다. 최신순이며 한 번에 최대 100건(limit), 다음 페이지는 offset 으로 넘긴다. status 는 조건 판정(TRIGGERED 충족·OK 미충족·SKIPPED 건너뜀·ERROR 실패), delivery_status 는 수신자에게 실제로 닿았는지로 서로 다른 축이다 — 조건을 충족했어도 전달은 실패할 수 있고, null 은 발송을 시도하지 않았다는 뜻이다. 발송 본문은 포함되지 않는다. 결과 줄의 수신처 주소는 가려서 나오고, 발송 전체가 예외로 끝난 기록의 notification_results.error 는 원문 대신 alarm_notification_failed 로 나온다 — 원문 사유는 웹 이력 화면에서 본다.
Examples:
Q: 최근 알람 발송 기록 보여줘 params: {'query': {'limit': 20}}
Q: 이 알람 최근에 제대로 발송됐어? params: {'query': {'alarm_setting_id': 'a1b2c3d4-0000-4000-8000-000000000000', 'limit': 10}}
Output shape: object: {items[], total_count, limit, offset}
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_alarm_histories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| project-id | No | ||
| alarm_setting_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||