简体中文
cURL
curl --request GET \ --url https://api.devin.ai/v3beta1/organizations/{org_id}/sessions \ --header 'Authorization: Bearer <token>'
{ "items": [ { "acus_consumed": 123, "created_at": 123, "org_id": "<string>", "pull_requests": [ { "pr_state": "<string>", "pr_url": "<string>" } ], "session_id": "<string>", "status": "new", "tags": [ "<string>" ], "updated_at": 123, "url": "<string>", "title": "<string>", "user_id": "<string>" } ], "end_cursor": "<string>", "has_next_page": false, "total": 123 }
List sessions.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 <= x <= 200
asc
desc
Successful Response
显示 子属性
new
claimed
running
exit
error
suspended
resuming
Cursor to fetch the next page, or None if this is the last page.
Whether there are more items available after this page.
Optional total count (can be omitted for performance).