Skip to main content
GET
/
api
/
data-platform
/
alerts
/
{id}
Get alert by ID
curl --request GET \
  --url https://app.solya.app/api/data-platform/alerts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "checkLevel": "VARIANT",
  "createdAt": "2026-01-10T08:00:00.000Z",
  "description": "Fires when stock drops below threshold",
  "frequency": "DAILY",
  "id": "alert-uuid-1",
  "isActive": true,
  "name": "Low stock alert",
  "organizationId": "org-uuid-1",
  "tagOperator": "AND",
  "tagRules": [
    {
      "mode": "INCLUDE",
      "tagId": "tag-uuid-low-stock"
    }
  ],
  "updatedAt": "2026-03-20T10:00:00.000Z"
}

Authorizations

Authorization
string
header
required

Static internal-ops token used by the data platform and internal cron jobs (e.g. zombie-run sweep). Validated via requireBearerToken inside the handler against a service-specific environment variable.

Path Parameters

id
string<uuid>
required

UUID of the alert to retrieve

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Query Parameters

organizationId
string
required

Organization ID that owns the alert

Minimum string length: 1

Response

Successful response

data
object
required
success
enum<boolean>
required
Available options:
true