Knowledge document list
This API fetches a list of all documents within a specified knowledge base, providing details such as document names, IDs, upload dates, and statuses for easy management and reference.
Authorization
bearerAuth JWT access token returned by Signing In (POST /auth/v1/tokens/).
In: header
Path Parameters
Knowledge ID
Query Parameters
Search keywords, currently only search document names(optional)
Page number(optional)
Number of items returned, default 20, range 1-100(optional)
Response Body
application/json
application/json
curl -X GET "https://example.com/datasets/string/documents""{\n \"data\": [],\n \"has_more\": false,\n \"limit\": 20,\n \"total\": 0,\n \"page\": 1\n}"Create an empty Knowledge POST
This API allows users to initialize a new knowledge base with a specified name. The created knowledge base will be empty, ready for adding files.
Create documents from files POST
This API is based on existing knowledge and creates a new document through text based on this Knowledge.