获取特定会话的详细洞察,包括消息数量、会话大小分布以及 AI 生成的分析。
Documentation Index
Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
Use this file to discover all available pages before exploring further.
devin_id 是在会话 ID 前添加前缀 devin- 后得到的值 (例如,devin-abc123) 。ViewOrgSessions 权限的服务用户。服务用户凭据(前缀:cog_)
Devin 会话 ID(前缀:devin-)
"devin-abc123def456"
组织 ID(前缀:org-)
"org-abc123def456"
成功响应
包含量化指标和 AI 分析的会话详细信息。
在 SessionResponse 的基础上,补充了原本需要通过额外查询才能获取的字段。
会话期间发送的 Devin 消息总数。
会话期间发送的用户消息总数。
基于 ACU 使用量和消息数量对会话规模进行的分类。
xs, s, m, l, xl new, claimed, running, exit, error, suspended, resuming AI 生成的会话分析。如果分析尚未完成,则为 None。
如果已完成分类,则为会话分配的用例类别。仅在 get/list 端点中返回。
bug_fixing, ci_cd_and_devops, code_quality_and_security, code_review_and_analysis, data_and_automation, documentation_and_content, feature_development, migrations_and_upgrades, other, refactoring_and_optimization, research_and_exploration, unit_test_generation 该会话的创建来源。
webapp, slack, teams, api, linear, jira, automation, cli, desktop, other 会话当前状态的附加信息。当 status 为“running”时:可为“working”(正在处理)、“waiting_for_user”(需要用户输入)、“waiting_for_approval”(在安全模式下等待操作批准)或“finished”(任务已完成)。当 status 为“suspended”时:表示挂起原因,例如“inactivity”“user_request”“usage_limit_exceeded”“out_of_credits”“out_of_quota”“no_quota_allocation”“payment_declined”“org_usage_limit_exceeded”“total_session_limit_exceeded”或“error”。仅在 get/list 端点中返回。
working, waiting_for_user, waiting_for_approval, finished, inactivity, user_request, usage_limit_exceeded, out_of_credits, out_of_quota, no_quota_allocation, payment_declined, org_usage_limit_exceeded, total_session_limit_exceeded, error 会话中已验证的结构化输出。仅在 GET/列表类端点中返回。
为会话分配的子类别显示名称。若已设置类别但未分配或未解析出子类别,则为“Other”。仅在 get/list 端点中返回。