Skip to main content
Searches across all memory sources in a workspace — documents and facts — using a natural language query. Results are grouped by source type so you can present each category separately or merge them in your UI. Use the optional filters to narrow results to specific projects, actors, or memory types.
Permission required: workspace:read

Path Parameters

workspaceId
string
required
Workspace identifier

Request Body

query
string
required
Natural language search query
threshold
number
Minimum relevance score between 0.0 and 1.0. Results below this score are excluded.
project_ids
array of strings
Limit search to specific projects. When omitted, all projects in the workspace are searched.
actor_ids
array of strings
Limit search to memories associated with specific actors
memory_types
array of strings
Filter results by memory type. Accepted values: document, fact. When omitted, all types are searched.
top_k
integer
Maximum number of results to return per source type

Response

data
object