Agent 日志
获取应用图表数据
获取应用的图表统计数据,包括用户数据、对话数据、应用数据的时序统计
post/proApi/core/app/logs/getChartData
Request
- Base URL: https://app.wenwen-ai.com/api
- URL: https://app.wenwen-ai.com/api/proApi/core/app/logs/getChartData
- Auth: none declared
Request body
Example request
{
"appId": "68ad85a7463006c963799a05",
"dateStart": "2024-01-01T00:00:00.000Z",
"dateEnd": "2024-12-31T23:59:59.999Z",
"source": [
"api",
"online"
],
"offset": 1,
"userTimespan": "day",
"chatTimespan": "day",
"appTimespan": "day"
}Response
成功获取应用图表数据
Example response
{
"userData": [
{
"timestamp": 1704067200,
"summary": {
"userCount": 100,
"newUserCount": 30,
"retentionUserCount": 70,
"points": 1500,
"sourceCountMap": {
"api": 50,
"web": 30,
"mobile": 20
}
}
}
],
"chatData": [
{
"timestamp": 1704067200,
"summary": {
"chatItemCount": 500,
"chatCount": 100,
"errorCount": 5,
"points": 800
}
}
],
"appData": [
{
"timestamp": 1704067200,
"summary": {
"goodFeedBackCount": 25,
"badFeedBackCount": 3,
"chatCount": 100,
"totalResponseTime": 120000
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.