External Knowledge API
Editor: Allen. Dify Technical Writer
Last updated
Editor: Allen. Dify Technical Writer
Last updated
This API is used to connect to a knowledge base that is independent of the Dify and maintained by developers. For more details, please refer to Connecting to an External Knowledge Base. You can use API-Key in the Authorization HTTP Header to verify permissions, the authentication logic is defined by you in the retrieval API, as shown below:
Authorization: Bearer {API_KEY}
Your knowledge's unique ID
User's query
Knowledge's retrieval parameters
If the action is successful, the service sends back an HTTP 200 response.