在向量存储中移除文档
Last updated
Last updated
vector-store-id
字符串
必填。 包含文档的向量存储的ID。
document-id
整数
必填。 要删除的文档的ID。
成功的请求返回204无内容状态码,且没有响应体。
此端点需要使用 x-api-key
头中的 API 密钥进行认证。
401
未授权 - 无效或缺失的 API 密钥
404
未找到 - 向量存储或文档未找到
500
内部服务器错误
此端点允许您从向量存储中删除文档。一旦删除,该文档及其向量嵌入将不再可用于搜索操作。这对于从知识库中删除过时、不相关或敏感内容非常有用。
警告:文档删除是永久性的,无法撤销。在删除重要文档之前,请确保您有备份。
Delete a specific document from a vector store.
The ID of the vector store.
The ID of the document.
The API key for authentication.
Document deleted successfully.
No content