Conversation Monitor

Get conversation monitor report

GET
/api/conversation-monitor/report

Returns a paginated dashboard of conversations the autopilot/agent has likely stalled on, combining AI-stuck and abandoned-conversation categories. The page contains contact/conversation identifiers, channel, latest inbound timestamp, assignee names, and per-row access. Query params: page, limit (<=100), category (ai_stuck | agent_abandoned), skipThreshold, departmentId, organizationId (SUPERADMIN only).

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

page?integer
Range1 <= value
Default1
limit?integer
Range1 <= value <= 100
Default25
category?string

Value in

  • "ai_stuck"
  • "agent_abandoned"
skipThreshold?string

When "true", ignores the configured threshold and returns all candidates.

Value in

  • "true"
  • "false"
departmentId?string
organizationId?string

SUPERADMIN-only override to inspect another organization.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/conversation-monitor/report"
{  "success": true,  "data": {    "organizationId": "65a0e0e0e0e0e0e0e0e0e0e0",    "generatedAt": "2026-05-18T14:00:00.000Z",    "thresholdMinutes": 30,    "totalCount": 42,    "snapshotMissing": false,    "pagination": {      "page": 1,      "limit": 25,      "total": 42,      "totalPages": 2    },    "rows": [      {        "conversationId": "65d3e0f0a0b0c0d0e0f0a0b0",        "contactId": "65c2d0e0f0a0b0c0d0e0f0a0",        "contactName": "Jane Doe",        "contactPhone": "+14155550123",        "channelType": "sms",        "latestInboundAt": "2026-05-18T13:45:00.000Z",        "category": "ai_stuck",        "assigneeNames": [          "Alice Rivera"        ],        "hasAccess": true      }    ]  }}