需要企业管理员的外部 API 密钥。
返回一个包含企业中各组织 API 密钥的分页列表。
API 密钥对象数组。
如果这是用户密钥,则为用户 ID;如果是服务密钥,则为 null。
此密钥是服务密钥(true)还是用户密钥(false)。
跳过的项目数量(根据 page 和 per_page 计算得出)。
curl -X GET "https://api.devin.ai/v2/enterprise/api-keys?page=1&per_page=50" \
-H "Authorization: Bearer YOUR_ENTERPRISE_API_KEY"
{
"items": [
{
"id": "apk-abc1234567890abcdef1234567890abcdef",
"org_id": "org_123",
"org_name": "Engineering",
"user_id": null,
"user_email": null,
"is_service_key": true,
"created_at": "2025-08-01T12:00:00Z"
}
],
"total": 200,
"skip": 0,
"limit": 50,
"has_more": true,
"next_cursor": 2
}