獲取向量存儲中的文檔列表
get
List all documents in a vector store.
Path parameters
vector-store-idstringRequired
The ID of the vector store.
Header parameters
x-api-keystringRequired
The API key for authentication.
Responses
200
A list of documents.
application/json
get
200
A list of documents.
範例請求
路徑參數
參數
類型
描述
vector-store-id
字串
必填。 要列出文件的向量存儲的 ID。
回應格式
認證
此端點需要使用 x-api-key
標頭中的 API 金鑰進行認證。
錯誤回應
狀態碼
描述
401
未授權 - 無效或缺失的 API 金鑰
404
找不到 - 向量儲存庫未找到
500
內部伺服器錯誤
此端點檢索指定向量儲存庫中所有文件的列表。它提供有關每個文件的元數據,包括文件的處理狀態、大小和索引時間戳。這些信息對於監控您的向量儲存庫內容和檢查文件處理狀態非常有用。
Last updated