CONTAINS fallback; and line-by-line file content search. Symbol results rank higher than file-content line matches. All search endpoints accept optional repo_owner and repo_name parameters to scope results to a specific repository.
GET /api/v1/query/search
Unified search across all node types (functions, classes, variables) and raw file content.Search term — any identifier, code snippet, or keyword. Maximum 500 characters.
Maximum number of results to return.
Filter results to a specific repository owner (e.g.
acme-corp). Must be combined with repo_name.Filter results to a specific repository name (e.g.
my-api). Must be combined with repo_owner.Response
Ranked list of matching code nodes or file lines.
Number of results returned (after applying
limit).The original query string, echoed back.
Examples
GET /api/v1/query/method-usages
Finds every location in the graph where a specific method is called or referenced.Name of the method to find usages for.
Filter to a specific repository owner.
Filter to a specific repository name.
Example
GET /api/v1/query/find_callers
Returns all functions and methods in the graph that call a specific symbol.Name of the symbol to find callers for.
Filter to a specific repository owner.
Filter to a specific repository name.
Example
GET /api/v1/query/class_hierarchy
Returns the full inheritance tree for a class — both parent classes (ancestors) and child classes (subclasses).Name of the class to analyze.
Filter to a specific repository owner.
Filter to a specific repository name.
Example
GET /api/v1/query/change_impact
Analyzes the blast radius of modifying a specific symbol. BugViper collects all usages and callers from the graph and classifies the overall impact level.Name of the symbol to analyze.
Filter to a specific repository owner.
Filter to a specific repository name.
Response
The symbol name that was analyzed.
All locations where the symbol is used (from
method-usages).List of functions that directly call this symbol.
Definition sites for the symbol in the graph.
"high" (more than 5 callers), "medium" (1–5 callers), or "low" (no callers found).Example
GET /api/v1/query/stats
Returns overall statistics for the entire Neo4j knowledge graph — total node counts by type, relationship counts, and repository count.Firebase ID token. Format:
Bearer <token>.