メインコンテンツへスキップ
POST
/
beta
/
v2
/
enterprise
/
repositories
/
bulk-index
リポジトリの一括インデックス作成
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"
}

Documentation Index

Fetch the complete documentation index at: https://docs.devin.ai/llms.txt

Use this file to discover all available pages before exploring further.

このエンドポイントでは、複数のリポジトリをまとめてインデックス作成し、セッション中に Devin がアクセスできるようにします。1 回のリクエストで最大 100 件のリポジトリをインデックス作成できます。
リポジトリのインデックス作成は非同期的に実行されます。インデックス作成の進捗を確認するには、Get Repository Status エンドポイントを使用してください。

承認

Authorization
string
header
必須

Enterprise 管理者専用の個人用 API キー (apk_user_*)

ボディ

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

レスポンス

成功時のレスポンス

status
string
デフォルト:success