跳转到主要内容
POST
批量索引仓库
该端点允许你一次性索引多个代码仓库,使 Devin 能在会话期间访问它们。单个请求最多可以索引 100 个代码仓库。
代码仓库索引是异步操作。请使用 Get Repository Status 端点来检查索引进度。

授权

Authorization
string
header
必填

仅供 Enterprise 管理员使用的个人 API Key(apk_user_*)

请求体

application/json
org_id
string
必填
repo_names
string[]
必填
Required array length: 1 - 100 elements

响应

成功响应

status
string
默认值:success