API Documentation

Alerts API

Retrieve and manage real‑time intelligence alerts generated by your active Radars.

Getting Started

Base URL

https://app.caelrith.com/api/v1/alerts

Authentication

Same as other APIs – include your API key in the x-api-key header.

curl -H "x-api-key: YOUR_KEY" \
  "https://app.caelrith.com/api/v1/alerts"

Rate Limits

The Alerts API is available on all plans, but daily call quotas apply based on your workspace tier.

Endpoints

GET/

List Alerts

Returns paginated list of alerts. Use ?id=... to fetch a single alert directly.

ParameterTypeRequiredDescription
pageintegerNoPage number (default 1).
limitintegerNoResults per page (1–100, default 50).
pluginIdstringNoFilter by radar plugin ID (see table below for available IDs).
statusstringNoFilter by status: NEW, ACKNOWLEDGED, MUTED, RESOLVED.
severitystringNoFilter by severity: low, medium, high, critical.
searchstringNoFree‑text search within alert metadata (title, message, etc.).
sortBystringNoSort field: createdAt, updatedAt, severity (default createdAt).
sortDirstringNoSort direction: asc or desc (default desc).
startDatestring (ISO 8601)NoAlerts created on or after this date.
endDatestring (ISO 8601)NoAlerts created on or before this date.
idstring (UUID)NoIf provided, returns a single alert by its DB ID (ignores other query params).

Available pluginId Values

Use these IDs to filter alerts by a specific radar. Only radars that are active on your workspace will return results.

pluginIdRadar Name
clinical-trials-monitorClinical Trials Intelligence Radar
scientific-literature-radarScientific Literature Radar
biotech-intelligence-radarRegulatory Intelligence Radar
patent-intelligence-radarPatent Intelligence Radar
sec-financial-monitorSEC Financial Intelligence Radar
nih-funding-radarGlobal Funding & Projects Radar
newsdata-io-radarNewsdata.io Radar
startup-funding-radarStartup Funding Radar
reddit-keyword-post-monitorReddit Intelligence Radar
supply-chain-radarManufacturing & Supply Chain Radar
recurring-remindersLab & Workflow Reminders

Example Request

curl -H "x-api-key: YOUR_KEY" \
  "https://app.caelrith.com/api/v1/alerts/?pluginId=clinical-trials-monitor&limit=5"

Example Response

{
  "data": [
    {
      "id": "alert-uuid-1",
      "tenantId": "tenant-uuid",
      "pluginId": "clinical-trials-monitor",
      "status": "NEW",
      "severity": "medium",
      "title": "New trial alert",
      "message": "...",
      "metadata": { /* stripped metadata */ },
      "createdAt": "2026-07-04T22:00:00.000Z",
      "updatedAt": "2026-07-04T22:00:00.000Z"
    }
  ],
  "meta": {
    "page": 1,
    "limit": 50,
    "totalItems": 42,
    "totalPages": 1,
    "hasMore": false
  }
}
GET/:alertDbId

Get Single Alert

Returns the full, unstripped alert object (including complete metadata) for deep inspection.

ParameterTypeRequiredDescription
alertDbIdstring (UUID)YesThe database ID of the alert (from path).

Example Request

curl -H "x-api-key: YOUR_KEY" \
  "https://app.caelrith.com/api/v1/alerts/alert-uuid-1"

Alert Actions

Modify alert lifecycle state. All actions require the alert's database ID in the URL path.

Designed for recurring signals

mute and unmute are most meaningful for Radars that produce persistent, ongoing alerts—such as system monitors tracking live trial statuses or market fluctuations. For one‑shot discoveries like individual papers, patents, or grant announcements, each alert is a single event;acknowledge or resolve are typically more appropriate lifecycle actions. The endpoints exist consistently across radar types but their actual effect depends on the radar's alert model.

POST/:alertDbId/ack

Acknowledge an alert

No request body required.

Example Request

curl -X POST -H "x-api-key: YOUR_KEY" \
  "https://app.caelrith.com/api/v1/alerts/alert-uuid-1/ack"
POST/:alertDbId/unack

Un‑acknowledge an alert

No request body required.

Example Request

curl -X POST -H "x-api-key: YOUR_KEY" \
  "https://app.caelrith.com/api/v1/alerts/alert-uuid-1/ack"
POST/:alertDbId/mute

Mute an alert

The /mute endpoint expects a JSON body with the number of hours to mute: { "hours": 24 }

Example Request

curl -X POST -H "x-api-key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "hours": 24 }' \
  "https://app.caelrith.com/api/v1/alerts/alert-uuid-1/mute"
POST/:alertDbId/unmute

Un‑mute an alert

The /mute endpoint expects a JSON body with the number of hours to mute: { "hours": 24 }

Example Request

curl -X POST -H "x-api-key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "hours": 24 }' \
  "https://app.caelrith.com/api/v1/alerts/alert-uuid-1/mute"
POST/:alertDbId/resolve

Resolve an alert

No request body required.

Example Request

curl -X POST -H "x-api-key: YOUR_KEY" \
  "https://app.caelrith.com/api/v1/alerts/alert-uuid-1/ack"