跳到主要内容

会话纪要

语音通话结束后,会生成它的纪要:对通话内容的结构化总结。读取方式:

curl -s "$NEWEYES_API_BASE/v1/sessions/$SESSION_ID/brief" \
-H "Authorization: Bearer $NEWEYES_USER_TOKEN"
{
"object": "brief",
"session_id": "5e7a…",
"status": "completed",
"summary": "Agreed on the kitchen layout; tiles still open.",
"topics": [
{
"title": "Kitchen layout",
"conclusion": "Keep the sink under the window.",
"details": ["The island stays 90 cm from the counter."],
"actions": ["Send the revised plan."],
"open_questions": ["Which tile finish?"]
}
],
"action_items": [{ "task": "Send the revised plan", "owner": "Sam", "due": "Friday", "status": null }],
"speakers": ["Sam", "Alex"],
"visuals": [{ "url": "https://…", "caption": "Current kitchen", "captured_at": "2026-10-19T08:20:00Z", "topic_title": "Kitchen layout" }],
"created_at": "2026-10-19T08:31:00Z"
}
status含义
none这个会话没有纪要:它不是语音会话,或者通话还没有结束。
running通话已结束,纪要正在生成。稍后再读。
completed纪要已就绪。
transcript_only通话太短,无法生成纪要;转写内容在消息列表里。
failed纪要未能生成。

会话的 brief_status(在 GET /v1/sessions/{session_id} 上)不用读取纪要就能看出它是 running 还是 completed。

visuals 是用户在通话中展示的图片;每个 url 都是会过期的下载链接。