---
title: "Test an alert without sending notifications"
method: POST
path: "/alerts/{id}/test"
tags: ["Alerts"]
---

# Test an alert without sending notifications

`POST /alerts/{id}/test`

Executes the alert query and evaluates the condition, but does **not** send notifications.
Returns the query result and which channels **would** have fired.

## Path parameters

- `id` string, required

## Response `200`

Test result

- AlertTestResponse
  - `data` object, required
    - `would_trigger` boolean
    - `result` object
    - `channels_that_would_fire` object[]
      - `type` string
      - `name` string
      - `status` 'reachable' | 'unreachable' | 'error'
    - `message` string

## Changes

- **2026-03-03** `7141381739ac` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/lynxbase/apis/lynxdb-api/changes/alerts/:id/test/post.md)

---

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