Collections API
Collections REST API 概述
Collections API 允许您以编程方式管理您的 Collections documents 和 collections。
collection 管理的基础 URL 与 Management API 共享,位于 https://management-api.x.ai/v1/。您必须使用 xAI Management API Key 进行身份验证,并在请求头中添加 Authorization: Bearer <your xAI Management API key>。
在 collections 中进行搜索的基础 URL 与 REST API 共享,位于 https://api.x.ai。您必须使用请求头 Authorization: Bearer <your xAI API key> 进行身份验证。