Search
Search
Searches the documents in a namespace.
Set multiturn: true to enable multi-turn mode, which returns a session_id and may return clarification_needed status when the system needs more information.
Set stream: true to receive results as server-sent events; see SearchStreamEvent for the event shape. The stream closes after either a session_result or error event.
post/v1/namespaces/{namespace}/search
Request body
Response
Successful response. When stream is false (default), returns JSON. When stream is true, returns text/event-stream.