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
Length
1 <= lengthpath?Path
Nowledge FS path scope. Supports /memories, /threads, and /sources in this preview.
Default
"/memories"unit_type?|
Filter memory grep by unit type; also inferred from /memories/by-type/<unit_type> paths
limit?Limit
Range
1 <= value <= 1000Default
200cursor?|
Opaque pagination cursor
literal?|
When false, treat q as a regular expression
regex?Regex
Treat q as a regular expression
Default
falseignore_case?Ignore Case
Match without regard to case; true by default
Default
truecase_sensitive?Case Sensitive
Force case-sensitive matching
Default
falseResponse 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": {} } ]}