Authentication
Bearer token for authentication
Path Parameters
The ID of the organization to filter chats
Query Parameters
The start date for the date range filter (ISO 8601 format)
The end date for the date range filter (ISO 8601 format)
Response
The number of missed chats based on the specified criteria
curl --location --request GET 'https://api-v2.opencopilot.so/backend/reports/chats/missed?startDate=2023-01-01T00:00:00Z&endDate=2023-12-31T23:59:59Z' \
--header 'Authorization: Bearer YOUR_TOKEN'
When is a chat considered missed?
A chat is considered missed when:
-
AI Autopilot OFF:
- A user initiates a chat
- No human agent responds within a set time frame
- The chat is automatically closed as unresolved
-
AI Autopilot ON:
- A user initiates a chat
- The AI attempts to handle the query but fails to resolve it
- No human agent intervenes to assist
- The chat is automatically closed as unresolved
In both cases, the key factors are:
- The chat session is closed
- The issue remains unresolved
- There is no last message, indicating no successful interaction