curl --location --request GET 'http://prod-cn.your-api-server.com/consoleapi/analyse/dashboard' \
--header 'Authorization: Bearer {{token}}'{
"code": 0,
"message": "string",
"data": {
"user": {
"totalUsers": 0,
"activeUsers": 0,
"newUsersToday": 0,
"newUsersThisWeek": 0,
"newUsersThisMonth": 0
},
"agent": {
"totalAgents": 0,
"activeAgents": 0,
"newAgentsToday": 0,
"newAgentsThisWeek": 0,
"newAgentsThisMonth": 0
},
"chat": {
"totalConversations": 0,
"totalMessages": 0,
"totalTokens": 0,
"totalPower": 0,
"conversationsToday": 0,
"messagesToday": 0,
"tokensToday": 0,
"powerToday": 0
},
"order": {
"totalOrders": 0,
"totalAmount": 0,
"paidOrders": 0,
"paidAmount": 0,
"ordersToday": 0,
"amountToday": 0
},
"userDetail": {
"todayVisit": 0,
"todayRegister": 0,
"last15Days": {
"totalVisit": 0,
"totalRegister": 0
},
"compareLast15Days": {
"visitChange": 0,
"registerChange": 0
},
"chartData": [
{
"date": "string",
"visit": 0,
"register": 0
}
]
},
"revenueDetail": {
"todayRevenue": 0,
"todayOrders": 0,
"last15Days": {
"totalRevenue": 0,
"totalOrders": 0
},
"chartData": [
{
"date": "string",
"revenue": 0,
"orders": 0
}
]
},
"tokenUsage": {
"byModel": [
{
"modelId": "string",
"modelName": "string",
"providerName": "string",
"conversations": 0,
"tokens": 0
}
],
"byProvider": [
{
"providerId": "string",
"providerName": "string",
"conversations": 0,
"tokens": 0
}
]
},
"extension": {
"totalCount": 0,
"enabledCount": 0,
"usageRanking": [
null
]
}
},
"timestamp": 0
}