简体中文
cURL
curl --request GET \ --url https://api.devin.ai/v2/enterprise/organizations/{org_id}/sessions/insights \ --header 'Authorization: Bearer <token>'
{ "has_more": true, "items": [ { "acus_consumed": 123, "created_at": "2023-11-07T05:31:56Z", "initial_user_message": "<string>", "org_id": "<string>", "pull_requests": [ { "url": "<string>", "state": "<string>" } ], "session_analysis": { "suggested_prompt": { "feedback_items": [ { "details": "<string>", "excerpt": "<string>", "issue_id": "<string>", "summary": "<string>" } ], "original_prompt": "<string>", "suggested_prompt": "<string>" }, "action_items": [], "issues": [], "timeline": [] }, "session_id": "<string>", "status": "new", "tags": [ "<string>" ], "updated_at": "2023-11-07T05:31:56Z", "url": "<string>", "title": "<string>", "user_id": "<string>" } ], "limit": 123, "skip": 123, "total": 123, "next_cursor": 123 }
获取特定组织的 Devin 会话分页列表和详细分析数据
Personal API Key (apk_user_*) for Enterprise Admins only
x >= 0
1 <= x <= 200
Successful Response
显示 子属性
new
claimed
running
exit
error
suspended
resuming