Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

fix(api): move dify retrieval health check to /dify/retrieval/health (#15311)

jony376a2500fed4360
diff --git a/api/apps/restful_apis/dify_retrieval_api.py b/api/apps/restful_apis/dify_retrieval_api.py
index a2b19dea9d..132b5869a5 100644
--- a/api/apps/restful_apis/dify_retrieval_api.py
+++ b/api/apps/restful_apis/dify_retrieval_api.py
@@ -323,7 +323,7 @@ async def retrieval(tenant_id):
return build_error_result(message=str(e), code=RetCode.SERVER_ERROR)
[email protected]('/dify/retrieval', methods=['GET']) # noqa: F821
[email protected]('/dify/retrieval/health', methods=['GET']) # noqa: F821
async def retrieval_health_check():
"""Health check endpoint for Dify external knowledge base connectivity verification."""
return get_json_result(data=True)