vorfaelle.erledigen
Resolves an alert, recording the person and the time. No deletion: what was detected remains traceable. The list of resolved alerts is also the only way to check later whether the detection is any good. Mutation — changes data.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
ok | boolean | yes |
vorfaelle.erledigte
The most recently resolved alerts, so that the hit rate can be assessed. Read-only query.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
limit | integer | no | Default: 20 |
Output fields
Returns array of object. Fields of each element:
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
titel | string | yes | |
kategorie | string | yes | |
prioritaet | string | yes | |
status | string | yes | |
conversationId | string | yes | |
stayId | string · nullable | yes | |
exConversationId | string · nullable | yes | |
externalRef | string · nullable | yes | |
raum | string · nullable | yes | |
createdAt | string | yes | |
erledigtAm | string · nullable | yes | |
erledigtQuelle | enum · nullable | no | One of: manuell, gast, ki, system |
vorfaelle.offene
The open alerts, critical first, then the oldest. OLDEST FIRST within a level, not newest: an alert that has been open for a long time is the one that was overlooked. That is exactly what happened 22 times at Hospitable. Read-only query.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
limit | integer | no | Default: 50 |
nurProbleme | boolean | no |
Output fields
Returns array of object. Fields of each element:
| Field | Type | Required | Notes |
|---|---|---|---|
id | string | yes | |
titel | string | yes | |
kategorie | string | yes | |
prioritaet | string | yes | |
status | string | yes | |
conversationId | string | yes | |
stayId | string · nullable | yes | |
exConversationId | string · nullable | yes | |
externalRef | string · nullable | yes | |
raum | string · nullable | yes | |
createdAt | string | yes | |
erledigtAm | string · nullable | yes | |
erledigtQuelle | enum · nullable | no | One of: manuell, gast, ki, system |
vorfaelle.verlauf
History of detected problems: when each label was detected, by whom (guest, AI, staff member, rule) it was resolved and reopened. With `stayId` the history of one stay, oldest first; without it the issues resolved in the last `tage` days (default 7), newest first. Read-only.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
stayId | string | no | |
tage | integer | no | Default: 7 |
Output fields
Returns array of object. Fields of each element:
| Field | Type | Required | Notes |
|---|---|---|---|
art | enum | yes | One of: erkannt, erledigt, wieder_geoeffnet |
am | string | yes | |
titel | string · nullable | yes | |
kategorie | string · nullable | yes | |
prioritaet | string · nullable | yes | |
quelle | enum · nullable | yes | One of: manuell, gast, ki, system |
von | string · nullable | yes | |
messageId | string · nullable | yes | |
conversationId | string · nullable | yes | |
stayId | string · nullable | yes |