Scopes · Memories
Search scope memories
Returns memories ranked by semantic similarity to the supplied query. Caller must at least use the scope. Optional userId and limit body fields narrow the result set (legacy parity with search-memories).
Requires: scopes:read
POST
Authorizations
A Modus personal access token (modus_<orgUuid>_<prefix>_<secret>) or an OAuth 2.1 access token, sent as Authorization: Bearer <token>.
Path Parameters
Numeric scope id.
Example:
42
Body
application/json
Search query string (semantic search over the scope's memories).
Example:
"user preferences for response style"
Narrow results to memories tagged with this end-user id.
Example:
"user_clerk_X"
Override the default page size for search results (legacy default is 10).
Required range:
1 <= x <= 1000Example:
10