From d0fa66f4d58b13145b9fc55e84193c019760a592 Mon Sep 17 00:00:00 2001 From: Liu An Date: Mon, 25 Aug 2025 17:57:24 +0800 Subject: [PATCH] Docs: update API endpoint paths (#9683) ### What problem does this PR solve? - Update API endpoint paths in docs from `/v1/` to `/api/v1/` for consistency ### Type of change - [x] Documentation Update --- docs/references/http_api_reference.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/references/http_api_reference.md b/docs/references/http_api_reference.md index 8f32eb923..3facf77c3 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 '` @@ -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 ' \ --data '