跳转到主要内容
GET
/
v2
/
enterprise
/
organizations
Enterprise Organizations Endpoint
curl --request GET \
  --url https://api.devin.ai/v2/enterprise/organizations \
  --header 'Authorization: Bearer <token>'
{
  "has_more": true,
  "items": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "org_id": "<string>",
      "org_name": "<string>",
      "max_cycle_acu_limit": 123,
      "max_session_acu_limit": 123,
      "org_admin_count": 0,
      "org_member_count": 0,
      "org_user_count": 0
    }
  ],
  "limit": 123,
  "skip": 123,
  "total": 123,
  "next_cursor": 123
}
需要 Enterprise 管理员的个人 API key。 返回此 Enterprise 账户中所有组织的分页列表。

授权

Authorization
string
header
必填

Personal API Key (apk_user_*) for Enterprise Admins only

查询参数

skip
integer
默认值:0
必填范围: x >= 0
limit
integer
默认值:100
必填范围: 1 <= x <= 200

响应

Successful Response

has_more
boolean
必填
items
OrganizationResponse · object[]
必填
limit
integer
必填
skip
integer
必填
total
integer
必填
next_cursor
integer | null