---
title: "Create a semantic alert"
method: POST
path: "/me/semantic-alerts"
tags: ["Account"]
---

# Create a semantic alert

`POST /me/semantic-alerts`

Signed-in semantic alerts (#2304). Stores a freeform interest and email/webhook preferences. Matching runs after release.created for releases already on the caller's follow graph: one JEV decision per release, one question per enabled alert, notify when the matches-interest probability is at least the alert threshold (default 0.80, allowed 0.50–1.00). At most 5 alerts per account. Query text is user-private and is never written to Analytics Engine. Requires a Better Auth session or a user Bearer token (`relu_` or OAuth JWT); machine `relk_` tokens and anonymous callers are refused. Returns 404 when `semantic-alerts-enabled` is off. Body: `{ query, enabled?, threshold?, deliverEmail?, deliverWebhook?, webhookSubscriptionId? }`. `query` is required, trimmed, and at most 500 characters. Omitted `enabled` defaults to true, `threshold` to 0.8, `deliverEmail` to true, `deliverWebhook` to false.

## Response `201`

The created alert.

- object
  - `id` string, required — Typed id, `sal_` prefix.
  - `query` string, required — Freeform interest. User-private.
  - `enabled` boolean, required
  - `threshold` number, required
  - `deliverEmail` boolean, required
  - `deliverWebhook` boolean, required
  - `webhookSubscriptionId` string, nullable, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

## Other responses

- `400` — Invalid query, threshold, booleans, or webhookSubscriptionId
- `401` — Sign-in required
- `404` — Semantic alerts are disabled
- `429` — Maximum semantic alerts per account reached

## Changes

- **2026-09-23** `5d21ba2f0fcc` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/releases/apis/releases-api/changes/me/semantic-alerts/post.md)

---

[API](https://skmtc.dev/releases/apis/releases-api.md) · [All operations](https://skmtc.dev/releases/apis/releases-api/llms.txt) · [OpenAPI document](https://skmtc.dev/releases/apis/releases-api/revisions/099eb92e3137?raw)
