知识管理
从文件创建知识
Changed on上传文件并创建知识条目
post/knowledge-bases/{id}/knowledge/file
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/knowledge-bases/{id}/knowledge/file
- Auth
- API key in header Authorization
- or API key in header X-API-Key
Path parameters
idstring required
知识库ID
Request body multipart/form-data
Response
创建的知识
Example response
{
"success": true
}Changes
- info
the endpoint scheme security
ApiKeyAuthwas added to the API
- info
- info
the endpoint scheme security
ApiKeyAuthwas removed from the API
- info