Fs Grep
Content search. Returns path:line:match shaped hits.
Preview space contract: graph-wide projection. Phase 1 covers
memory/crystal bodies, thread messages, and parsed Library documents.
Memory grep can be narrowed with unit_type or a
/memories/by-type/<unit_type> path.
Query Parameters
q*Q
Fixed string or regex pattern to find
path?Path
Nowledge FS path scope. Supports /memories, /threads, and /sources in this preview.
unit_type?|
Filter memory grep by unit type; also inferred from /memories/by-type/<unit_type> paths
limit?Limit
cursor?|
Opaque pagination cursor
literal?|
When false, treat q as a regular expression
regex?Regex
Treat q as a regular expression
ignore_case?Ignore Case
Match without regard to case; true by default
case_sensitive?Case Sensitive
Force case-sensitive matching
Response Body
application/json
application/json
curl -X GET "https://example.com/fs/grep?q=string"null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}