viakite
Dashboard

API/Alerts/The project's alerts with their state

The project's alerts with their state

GET/v1/projects/{project}/alerts
Secret keyapi.vk.viabio.me

Path parameters

projectstringrequired
The project's id (prj_…).

Query parameters

limitinteger1–200default 50
How many rows to return, 1 to 200.
cursorstring
The next_cursor of the previous page. Opaque.

Responses

A page of alerts.

dataAlert[]required
One rule with its state.
Show 20 fields
idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
org_idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
project_idstringrequired
A prefixed ULID; the prefix names the kind (prj_… a project, org_… an organization).
ownerstringrequired
namestringrequired
signalobjectrequired
Measures: analytics visitors, pageviews, events, conversions, revenue; monitoring errors, crash_free_rate, new_issues, slow_screens, uptime; logs matching_lines; updates failed_installs, crash_rate. events, conversions and matching_lines need event (an event name, goal or search).
Show 3 fields
productstringrequired
analyticsmonitoringlogsupdates
measurestringrequired
eventstringrequiredup to 255 chars
filtersAlertFilter[]required
Such as source is Instagram.
Show 3 fields
propertystringrequiredup to 100 chars
operatorstringrequired
isis_notcontainsnot_contains
valuestringrequiredup to 255 chars
conditionobjectrequired
Above and below compare with threshold; up_by, down_by and changed_by (either way) take a percentage and compare_to: previous_period, same_time_last_week, or usual (the same window on the same weekday, averaged over the last 4 weeks that had data, at least 2). Rules against usual are unusual-traffic alerts: no reminders, and at most one fired message per window (at least an hour apart). no_data takes neither.
Show 3 fields
typestringrequired
abovebelowup_bydown_bychanged_byno_data
thresholdnumberrequired
compare_tostringrequired
previous_periodsame_time_last_weekusual
window_minutesintegerrequired5–1440
severitystringrequired
infowarningcritical
channelsstring[]required
emailwebhookbell
recipientsobjectrequired
Up to 50 of each.
Show 3 fields
member_idsstring[]required
group_idsstring[]required
emailsstring[]required
destination_idsstring[]required
The Slack and Teams destinations it posts to.
is_enabledbooleanrequired
statestringrequired
okalertingno_data
state_sincestring · date-time | nullrequired
is_mutedbooleanrequired
Whether a mute silences it now.
muteobject | nullrequired
Show 3 fields
untilstring · date-time | nullrequired
scheduleobject | nullrequired
Show 4 fields
daysstring[]required
sunmontuewedthufrisat
fromstringrequired
tostringrequired
timezonestringrequired
created_atstring · date-timerequired
A time in UTC, ISO 8601.
created_atstring · date-timerequired
A time in UTC, ISO 8601.
updated_atstring · date-timerequired
A time in UTC, ISO 8601.
next_cursorstring
Example response
1{
2 "data": [
3 {
4 "id": "alr_01JD8Q2M4W9XK3T7B5",
5 "org_id": "org_01JD8Q2M4W9XK3T7B5",
6 "project_id": "prj_01JD8Q2M4W9XK3T7B5",
7 "owner": "customer",
8 "name": "Production",
9 "signal": {
10 "product": "analytics",
11 "measure": "visitors",
12 "event": "string"
13 },
14 "filters": [
15 {
16 "property": "string",
17 "operator": "is",
18 "value": "string"
19 }
20 ],
21 "condition": {
22 "type": "above",
23 "threshold": 1.5,
24 "compare_to": ""
25 },
26 "window_minutes": 5,
27 "severity": "info",
28 "channels": [
29 "email"
30 ],
31 "recipients": {
32 "member_ids": [
33 "mem_01JD8Q2M4W9XK3T7B5"
34 ],
35 "group_ids": [
36 "grp_01JD8Q2M4W9XK3T7B5"
37 ],
38 "emails": [
39 "string"
40 ]
41 },
42 "destination_ids": [
43 "id_01JD8Q2M4W9XK3T7B5"
44 ],
45 "is_enabled": true,
46 "state": "ok",
47 "state_since": "2026-11-21T09:30:00Z",
48 "is_muted": true,
49 "mute": {
50 "until": "2026-11-21T09:30:00Z",
51 "schedule": {
52 "days": [
53 "sun"
54 ],
55 "from": "22:00",
56 "to": "08:00",
57 "timezone": "Asia/Kolkata"
58 },
59 "created_at": "2026-11-21T09:30:00Z"
60 },
61 "created_at": "2026-11-21T09:30:00Z",
62 "updated_at": "2026-11-21T09:30:00Z"
63 }
64 ],
65 "next_cursor": "string"
66}