メインコンテンツへスキップ
GET
/
v2
/
enterprise
/
organizations
/
{org_id}
/
sessions
List Organization Sessions
curl --request GET \
  --url https://api.devin.ai/v2/enterprise/organizations/{org_id}/sessions \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "items": [
    {
      "acus_consumed": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "org_id": "<string>",
      "pull_requests": [
        {
          "url": "<string>",
          "state": "<string>"
        }
      ],
      "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
}
Enterprise管理者の個人用APIキーが必要です。 Enterprise内の特定の組織に属するすべてのDevinセッションの、ページネーションされた一覧を返します。基本的なセッション情報、プルリクエスト(PR)データ、ACUの使用量が含まれます。

Authorizations

Authorization
string
header
required

Personal API Key (apk_user_*) for Enterprise Admins only

Path Parameters

org_id
string
required

Query Parameters

skip
integer
default:0
必須範囲: x >= 0
limit
integer
default:100
必須範囲: 1 <= x <= 200
created_date_from
string<date-time> | null
created_date_to
string<date-time> | null
updated_date_from
string<date-time> | null
updated_date_to
string<date-time> | null
org_ids
string[] | null
user_ids
string[] | null
session_ids
string[] | null

Response

Successful Response

has_more
boolean
required
items
SessionResponse · object[]
required
limit
integer
required
skip
integer
required
total
integer
required
next_cursor
integer | null