cURL
curl --request GET \ --url https://eu-vg-edge.moeaymandev.workers.dev/v2/agents/{agent_id}/analytics/{convo_id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "message": "Analytics retrieved successfully", "data": { "record": "load", "userID": "<string>", "ipAddress": "<string>", "countryCode": "<string>", "langCode": "<string>", "browser": "<string>", "platform": "<string>", "origin": "web-chat", "ts": 123, "interactionsNum": 123, "firstMessageTS": 123, "lastMessageTS": 123 } }
Returns analytics for a conversation of an agent
Agent/Workspace secret API key as bearer token.
The ID of the agent
The ID of the conversation to retrieve analytics from
Analytics retrieved
true
"Analytics retrieved successfully"
Analytics data
Show child attributes