Files
Grep-style code search across a directory
Recursive code search rooted at path (defaults to $HOME). Uses ripgrep when available, falling back to a native walker. Supports literal or regex patterns, smart-case (override with case_sensitive), glob filtering, before/after context_lines, and respect_gitignore. Results are capped by max_results; the response flags truncated when the cap is hit.
post/v1/search/code
Request
- Base URL: http://localhost:9998
- URL: http://localhost:9998/v1/search/code
- Auth: HTTP bearer
Request body
Response
Matches with file/line/column and surrounding context
Changes
No recorded changes to this operation across all 1 revision of this API.