{"uid":"cap_2Ch03tRgslEthH6LBHs2A","slug":"forwardlane-hybrid-code-search-b5b5dd81","name":"ForwardLane Hybrid Code Search","description":"BM25 plus vector search with reciprocal rank fusion over Function and Class nodes, with repository, domain, ontology concept, confidence, and test-coverage filters.","url":"https://agents.forwardlane.com/api/search/hybrid","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string"},"mode":{"type":"string","default":"hybrid"},"repo":{"type":"string"},"top_k":{"type":"integer","default":20,"maximum":200,"minimum":1},"domain":{"type":"string"},"has_tests":{"type":"boolean"},"node_type":{"type":"string","default":"Function"},"confidence_min":{"type":"number"},"ontology_concept_uri":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g3UBJWZP9RRV_6lOBZy01","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs hybrid BM25 plus vector search with reciprocal rank fusion over Function and Class nodes in code repositories, with filtering by repo, domain, ontology concept, confidence, and test coverage.","exampleAgentPrompt":"Search my codebase for functions related to 'user authentication' using hybrid mode, filtering to the 'auth-service' repo with a confidence of at least 0.8 and only include nodes that have tests — give me the top 10 results.","exampleUseCases":[{"title":"Find tested payment functions in a repo","prompt":"Search the 'payments-core' repository for Function nodes related to 'charge processing' using hybrid search, only show me results that have test coverage and a confidence score above 0.75, top 20 results."},{"title":"Semantic code discovery by ontology concept","prompt":"Find all Class nodes in my codebase that are linked to the ontology concept URI 'http://schema.org/Person' — use hybrid search mode and return the top 15 matches across any repository."},{"title":"Cross-domain function search for an agent","prompt":"I need to find functions in the 'data-pipeline' domain related to 'schema validation' — use hybrid search, filter node type to Function, and give me up to 30 results ranked by relevance."}],"resultDescription":"Returns a ranked list of Function or Class code nodes with associated metadata including repository, confidence scores, ontology concept links, test coverage status, and relevance rankings derived from reciprocal rank fusion of BM25 and vector similarity scores.","failureModes":["Missing required query parameter 'q' returns a 400 validation error","Invalid node_type value returns a schema validation error","Unknown repository name in 'repo' filter returns empty results","ontology_concept_uri that doesn't match any indexed concept returns empty list","top_k out of range (below 1 or above 200) returns a 422 error","Payment of 0.05 USDC not completed returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need the best of both keyword and semantic code search — it combines BM25 lexical matching with vector similarity and fuses rankings, outperforming either alone. Prefer it over the pure vector search sibling when exact identifiers or method names matter alongside conceptual similarity. Use when you need fine-grained filters like confidence thresholds, test coverage, ontology concept alignment, or repository scoping.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-19T12:43:40.587Z","isFirstParty":false}