日本語
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.
ViewOrgSessions
Service User credential (prefix: cog_)
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).