The Analytics API provides workspace reporting, conversation trends, Agent performance metrics, customer insights, live monitoring, and analytics export operations.
Endpoints
| Method | Path | Purpose |
| GET | /analytics/overview | Get Workspace KPIs |
| GET | /analytics/conversations | Get Conversation trends |
| GET | /analytics/agents | Get Agent performance |
| GET | /analytics/insights | Get customer insights |
| GET | /analytics/live/kpis | Get live KPI counters |
| GET | /analytics/live | Get live monitor state |
| GET | /analytics/reports/export | Export analytics CSV |
The days query parameter defaults to 7 for applicable reporting endpoints.
Example:
GET /analytics/overview?days=7
Authorization: Bearer <AUTH0_ACCESS_TOKEN>
x-workspace-id: <WORKSPACE_ID>
Need Help?
Email: support@ysdesk.com
Documentation: https://docs.ysplugins.com/ys-desk