Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api-reference/endpoints/ask-question.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ To ask follow-up questions, include the `session_id` from a previous response in
</ParamField>

<ParamField body="external_user_id" type="string">
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.
</ParamField>

<ParamField body="fetch_existing" type="boolean" default={false}>
Expand Down
4 changes: 4 additions & 0 deletions api-reference/endpoints/semantic-search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</ParamField>

<ParamField body="external_user_id" type="string">
External user identifier. This allows you to track search queries per user in your analytics. It should be UUID.
</ParamField>

### Response

The response contains an array of source objects and total count.
Expand Down