跳转到主要内容
POST
https://api.devin.ai
/
beta
/
v2
/
enterprise
/
repositories
/
bulk-index
批量索引代码仓库
curl --request POST \
  --url https://api.devin.ai/beta/v2/enterprise/repositories/bulk-index \
  --header 'Authorization: Bearer <token>'
该端点允许你一次性索引多个代码仓库,使 Devin 能在会话期间访问它们。单个请求最多可以索引 100 个代码仓库。
代码仓库索引是异步操作。请使用 Get Repository Status 端点来检查索引进度。