From 0ce75bec3325dc07fbdc8758a978c97ad4418d6e Mon Sep 17 00:00:00 2001 From: Fatih Date: Tue, 2 Dec 2025 17:54:27 +0300 Subject: [PATCH] Add external_user_id to semantic search docs and update its desc in ask question --- api-reference/endpoints/ask-question.mdx | 2 +- api-reference/endpoints/semantic-search.mdx | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/api-reference/endpoints/ask-question.mdx b/api-reference/endpoints/ask-question.mdx index 13e87be..35f7946 100644 --- a/api-reference/endpoints/ask-question.mdx +++ b/api-reference/endpoints/ask-question.mdx @@ -37,7 +37,7 @@ To ask follow-up questions, include the `session_id` from a previous response in - External user identifier for tracking user-specific conversation sessions. When provided, this ID is stored in the session. If a session already exists with a different external_user_id, the request will be rejected. + External user identifier for tracking user-specific conversation sessions. When provided, this ID is stored in the session. If a session already exists with a different external_user_id, the request will be rejected. It needs to be UUID. diff --git a/api-reference/endpoints/semantic-search.mdx b/api-reference/endpoints/semantic-search.mdx index 2387cd3..68e3f30 100644 --- a/api-reference/endpoints/semantic-search.mdx +++ b/api-reference/endpoints/semantic-search.mdx @@ -28,6 +28,10 @@ Retrieve sources that are most relevant to a given question. This endpoint fetch Array of labels to filter sources by. If provided, only sources with matching labels will be returned. If multiple labels are provided, they are OR'ed. Meaning data sources belonging to any of those labels are returned. + + External user identifier. This allows you to track search queries per user in your analytics. It should be UUID. + + ### Response The response contains an array of source objects and total count.