Skip to content

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

Docs: update API endpoint paths (#9683)

Liu And0fa66f4d58b
diff --git a/docs/references/http_api_reference.md b/docs/references/http_api_reference.md
index 8f32eb923a..3facf77c38 100644
--- a/docs/references/http_api_reference.md
+++ b/docs/references/http_api_reference.md
@@ -3501,7 +3501,7 @@ Failure:
### Generate related questions
-**POST** `/v1/sessions/related_questions`
+**POST** `/api/v1/sessions/related_questions`
Generates five to ten alternative question strings from the user's original query to retrieve more relevant search results.
@@ -3516,7 +3516,7 @@ The chat model autonomously determines the number of questions to generate based
#### Request
- Method: POST
-- URL: `/v1/sessions/related_questions`
+- URL: `/api/v1/sessions/related_questions`
- Headers:
- `'content-Type: application/json'`
- `'Authorization: Bearer <YOUR_LOGIN_TOKEN>'`
@@ -3528,7 +3528,7 @@ The chat model autonomously determines the number of questions to generate based
```bash
curl --request POST \
- --url http://{address}/v1/sessions/related_questions \
+ --url http://{address}/api/v1/sessions/related_questions \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <YOUR_LOGIN_TOKEN>' \
--data '