This document introduces the access domain, access method, common request headers, sample requests, and other related information for the enterprise knowledge engine.
{{domain}}/profile_platform/api/v2/rag
Access via HTTP request method
Request header name | Request header value | Field description | Remarks |
|---|---|---|---|
x-org | 2102067676 | Main account ID | |
x-tenant | 2985149 | Project ID |
|
x-user | User ID |
| |
Authorization | Bearer API_KEY | API KEY authentication | Caution: There is a space between Bearer and API_KEY |
curl '{{domain}}/profile_platform/api/v2/rag/auth/user' \ -H "Authorization: Bearer XXX" \ -H "x-tenant: 1" \ -H "x-org: 1" \ -H "content-type: application/json" \ -H 'x-user: listhida.1'
Functional modules | API | Description |
|---|---|---|
Knowledge base | This API is used to call the OpenAPI interface to create a knowledge base in the enterprise knowledge engine. | |
This API is used to call the OpenAPI interface to update a knowledge base in the enterprise knowledge engine. | ||
This API is used to call the OpenAPI interface to view the knowledge base list in the enterprise knowledge engine. | ||
This API is used to call the OpenAPI interface to delete a knowledge base in the enterprise knowledge engine. | ||
This API is used to call the OpenAPI interface to create a folder in the enterprise knowledge engine. | ||
This API is used to call the OpenAPI interface to update a folder in the enterprise knowledge engine. | ||
This API is used to call the OpenAPI interface to view the folder list in the enterprise knowledge engine. | ||
This API is used to call the OpenAPI interface to upload a file when adding a document in the enterprise knowledge engine. | ||
This API is used to call the OpenAPI interface to associate a file with a knowledge base when adding a document in the enterprise knowledge engine. | ||
This API is used to call the OpenAPI interface to start parsing content in the enterprise knowledge engine. | ||
This API is used to call the OpenAPI interface to query documents in the enterprise knowledge engine. | ||
Document management | This API is used to call the OpenAPI interface to view the document list in the enterprise knowledge engine. | |
This API is used to call the OpenAPI interface to delete documents in the enterprise knowledge engine. | ||
This API is used to call the OpenAPI interface to set the document validity period in the enterprise knowledge engine. | ||
Intelligent conversations | This API is used to call the OpenAPI interface to retrieve the conversation list in the enterprise knowledge engine. | |
This API is used to call the OpenAPI interface to create an intelligent session in the enterprise knowledge engine. | ||
This API is used to call the OpenAPI interface to initiate a chat in an intelligent session in the enterprise knowledge engine. | ||
This API is used to call the OpenAPI interface to retrieve chat records from a session in the enterprise knowledge engine. | ||
This API is used to call the OpenAPI interface to search the knowledge base in the enterprise knowledge engine. | ||
Chunk management | This API is used to call the OpenAPI interface to view the chunk list in the enterprise knowledge engine. | |
This API is used to call the OpenAPI interface to modify the chunk list in the enterprise knowledge engine. | ||
This API is used to call the OpenAPI interface to delete the chunk list in the enterprise knowledge engine. |