输入示例
curl -X GET 'https://<your_mem0_host>/v1/event/evt_abcdef123456xxxx/' \
-H 'Authorization: Token YOUR_PERSONAL_API_KEY'
输出示例
{
"id": "evt_abcdef123456xxxx",
"event_type": "add",
"status": "SUCCEEDED",
"payload": {
"messages": [
{
"role": "user",
"content": "我下周要去北京出差..."
}
],
"user_id": "user-1xxxx",
"async_mode": true
},
"metadata": {
"source": "trip_planner_chat"
},
"results": [
"用户计划下周去北京出差,需要推荐烤鸭店。"
],
"created_at": "2026-01-07T10:15:00Z",
"updated_at": "2026-01-07T10:15:05Z",
"started_at": "2026-01-07T10:15:01Z",
"completed_at": "2026-01-07T10:15:05Z",
"latency": 4000,
"error": null,
"events": [
{
"id": "evt_abcdef123456xxxx",
"memory": "用户计划下周去北京出差,需要推荐烤鸭店。",
"event": "ADD"
}
]
}