查询参数
分页时要跳过的组织数量。必须大于等于 0。
返回的组织数量上限。必须在 1 到 200 之间。
响应
组织对象数组
企业中组织的总数
被跳过的组织数量
返回的组织数量上限
是否还有更多组织
下一页结果的游标
curl -X GET "https://api.devin.ai/v2/enterprise/organizations" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"org_admin_count": 3,
"org_id": "org_123",
"org_member_count": 25,
"org_name": "Engineering Team",
"org_user_count": 25,
"max_cycle_acu_limit": 1000,
"max_session_acu_limit": 50
},
{
"org_admin_count": 2,
"org_id": "org_456",
"org_member_count": 12,
"org_name": "Product Team",
"org_user_count": 12,
"max_cycle_acu_limit": null,
"max_session_acu_limit": 25
},
{
"org_admin_count": 1,
"org_id": "org_789",
"org_member_count": 8,
"org_name": "Design Team",
"org_user_count": 8,
"max_cycle_acu_limit": 500,
"max_session_acu_limit": null
}
],
"total": 3,
"skip": 0,
"limit": 100,
"has_more": false,
"next_cursor": null
}
以分页形式列出此企业中的组织
curl -X GET "https://api.devin.ai/v2/enterprise/organizations" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"org_admin_count": 3,
"org_id": "org_123",
"org_member_count": 25,
"org_name": "Engineering Team",
"org_user_count": 25,
"max_cycle_acu_limit": 1000,
"max_session_acu_limit": 50
},
{
"org_admin_count": 2,
"org_id": "org_456",
"org_member_count": 12,
"org_name": "Product Team",
"org_user_count": 12,
"max_cycle_acu_limit": null,
"max_session_acu_limit": 25
},
{
"org_admin_count": 1,
"org_id": "org_789",
"org_member_count": 8,
"org_name": "Design Team",
"org_user_count": 8,
"max_cycle_acu_limit": 500,
"max_session_acu_limit": null
}
],
"total": 3,
"skip": 0,
"limit": 100,
"has_more": false,
"next_cursor": null
}
显示 组织对象
curl -X GET "https://api.devin.ai/v2/enterprise/organizations" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"items": [
{
"org_admin_count": 3,
"org_id": "org_123",
"org_member_count": 25,
"org_name": "Engineering Team",
"org_user_count": 25,
"max_cycle_acu_limit": 1000,
"max_session_acu_limit": 50
},
{
"org_admin_count": 2,
"org_id": "org_456",
"org_member_count": 12,
"org_name": "Product Team",
"org_user_count": 12,
"max_cycle_acu_limit": null,
"max_session_acu_limit": 25
},
{
"org_admin_count": 1,
"org_id": "org_789",
"org_member_count": 8,
"org_name": "Design Team",
"org_user_count": 8,
"max_cycle_acu_limit": 500,
"max_session_acu_limit": null
}
],
"total": 3,
"skip": 0,
"limit": 100,
"has_more": false,
"next_cursor": null
}