dashboard.aiAnalytics
read-only
Dashboard: ai analytics. Read-only query. See the input schema for argument details.
Input parameters
| Field | Type | Required | Notes |
|---|---|---|---|
windowDays | integer | no | Default: 30 |
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
windowDays | integer | yes | |
inbound | integer | yes | |
outbound | integer | yes | |
autoOutbound | integer | yes | |
manualOutbound | integer | yes | |
escalated | integer | yes | |
autoReplyRate | number | yes | |
layerCounts | object | yes | Message count per ai_layer value ('rule' | 'llm' | 'manual' | 'escalated' | 'auto_received'), plus 'unknown' for rows with a NULL ai_layer. Only layers present in the window appear. |
dashboard.summary
read-only
Get the operator dashboard's summary KPIs (occupancy, revenue, etc.).
Input parameters
Returns object.
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
inboundLast24h | integer | yes | |
tasksOpen | integer | yes | |
tasksUrgent | integer | yes | |
staysToday | integer | yes | |
staysUpcoming7d | integer | yes | |
aiConfigured | boolean | yes |
dashboard.today
read-only
Operator home snapshot: inbound messages in the last 24h, open tasks, urgent tasks, stays checking in/out today, and stays arriving in the next 7 days. Read-only.
Input parameters
Returns object.
Output fields
| Field | Type | Required | Notes |
|---|---|---|---|
inboundLast24h | number | yes | |
tasksOpen | number | yes | |
tasksUrgent | number | yes | |
staysToday | number | yes | |
staysUpcoming7d | number | yes | |
aiConfigured | boolean | yes |