Get Staffing Prediction
Retrieve a prediction for staffing needs based on historical chat data
This endpoint provides a staffing prediction based on historical chat data. It analyzes the number of chats per hour and the number of chats that required human intervention to help optimize agent allocation and improve response times.
Authentication
Bearer token for authentication
Path Parameters
The ID of the organization
Query Parameters
The start date for the date range to analyze (ISO 8601 format)
The end date for the date range to analyze (ISO 8601 format)
Response
An array of objects representing the chat volume and human intervention for each hour
How It Works
The feature analyzes historical chat data for a specific organization and generates an hourly breakdown of chat activity. It provides the following information for each hour of the day:
- Total number of chats
- Number of chats that required human intervention
Using the Feature
To use this feature, you need to provide:
- The organization ID you want to analyze
- Optional date range for the analysis (start date and end date)
If no date range is specified, the feature will analyze all available historical data.
Output
The feature returns an array of hourly data points. Each data point includes:
- Hour of the day (0-23)
- Total number of chats for that hour
- Number of chats that required human handling
Was this page helpful?