简体中文
cURL
curl --request POST \ --url https://api.devin.ai/beta/v2/enterprise/repositories/bulk-index \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "org_id": "<string>", "repo_names": [ "<string>" ] } '
{ "status": "success" }
为 Devin 会话批量索引多个代码仓库(最多 100 个)。
Personal API Key (apk_user_*) for Enterprise Admins only
1 - 100
Successful Response