Skip to main content
GET
/
api
/
data-platform
/
alerts
List alerts for an organization
curl --request GET \
  --url https://app.solya.app/api/data-platform/alerts \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "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"
    },
    {
      "createdAt": "2026-02-01T09:00:00.000Z",
      "description": null,
      "frequency": "WEEKLY",
      "id": "alert-uuid-2",
      "isActive": true,
      "name": "Overstock alert",
      "organizationId": "org-uuid-1",
      "tagOperator": "AND",
      "tagRules": [
        {
          "mode": "INCLUDE",
          "tagId": "tag-uuid-overstock"
        }
      ],
      "updatedAt": null
    }
  ],
  "limit": 50,
  "offset": 0
}

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.

Query Parameters

organizationId
string
required

Organization ID to scope the alert list

Minimum string length: 1
isActive
boolean

Filter alerts by active status; omit to return all

nameIncludes
string

Case-insensitive substring filter on alert name

limit
integer
default:50

Maximum number of alerts to return (1–200, default 50)

Required range: x <= 200
offset
integer
default:0

Number of alerts to skip for pagination (default 0)

Required range: 0 <= x <= 9007199254740991

Response

Successful response

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