向活跃会话发送消息。如果会话已挂起,将自动恢复该会话。
devin_id 是在会话 ID 前加上 devin- 前缀得到的值 (例如,devin-abc123) 。ManageOrgSessions 权限的服务用户。服务用户凭据(前缀:cog_)
Devin 会话 ID(前缀:devin-)
"devin-abc123def456"
组织 ID(前缀:org-)
"org-abc123def456"
成功响应
new, creating, claimed, running, exit, error, suspended, resuming 有关 session 当前状态的更多详情。当 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”或“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, error 来自会话的已验证结构化输出。仅在 GET/LIST 端点中返回。