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.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Namespace identifier. Alphanumeric characters, hyphens, underscores, and dots. Max 128 characters.
128^[A-Za-z0-9-_.]{1,128}$One sentence describing what you are looking for.
Additional context that helps the search system understand your intent. For example, relevant terminology, constraints, or prior knowledge.
Recursive filter object. One of: { $and: [Filter, ...] } (all must match), { $or: [Filter, ...] } (any must match), or { field_name: FieldCondition } (field-level condition).
Whether to stream the response as server-sent events.
Whether to include document attributes in search results.
Enable multi-turn mode. When true, the response includes a session_id and may return clarification_needed status. When false (default), the search always completes in a single request.
Successful response. When stream is false (default), returns JSON. When stream is true, returns text/event-stream.
Unique identifier for this search session.
completed, clarification_needed, failed Synthesized summary of all findings.
Number of documents scanned during the search.
Number of queries executed during the search.
Present when status is clarification_needed.