Skip to main content
Search the workspace brain and return the facts that match your query, ranked by relevance. This is a database query: no model runs on our side, so responses arrive in milliseconds. You can use the results to prompt your own model or to surface relevant context to a user.

Endpoint

Required scope: memory.read

Request fields

string
required
The search query. 1 to 2000 characters.
integer
Maximum number of facts to return. 1 to 100. Defaults to 20.
string
Your own identifier for the person asking. Adds facts about that person to the results. Omit it and results stay workspace-general.
string
Optional display name for the person.

Example request

Example response

Response fields

array
Ranked list of matching facts, most relevant first.
If you are using an external audience key, sensitive facts are filtered out at retrieval. External keys never receive facts about your team, agent_inferred facts, or facts about an end user you did not name.