{"uid":"cap_iHQpSGEtNTSOLg38DVV9r","slug":"forwardlane-hybrid-code-search-aee5cac6","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://forwardlane.pay.zeroclick.io/api/search/hybrid?utm_source=zero.xyz","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_J9XCagh81-TgLymh2hEvi","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 BM25 plus vector search with reciprocal rank fusion over Function and Class nodes in code repositories, with filters for repo, domain, ontology concept, confidence, and test coverage.","exampleAgentPrompt":"Search the 'payments-service' repo for functions that handle refund processing — use hybrid mode, return the top 10 results, and only include ones that have tests.","exampleUseCases":[{"title":"Find tested authentication functions","prompt":"Search the 'auth-core' repository for Function nodes related to JWT token validation, hybrid mode, top 5 results, and only show me ones that have test coverage."},{"title":"Ontology-driven API discovery","prompt":"Find Class nodes in the 'data-pipeline' repo that match the ontology concept URI 'http://schema.org/DataFeed' with a minimum confidence of 0.8 — give me the top 20 results."},{"title":"Cross-domain refactoring research","prompt":"Search across all repositories in the 'payments' domain for functions that implement rate limiting — hybrid search, top 15 results, no test filter needed."}],"resultDescription":"Returns a ranked list of Function or Class nodes from the searched repositories, combining BM25 keyword scores and vector similarity scores via reciprocal rank fusion. Each result includes repository metadata, node type, domain, ontology concept mapping, confidence score, and test coverage status.","failureModes":["Missing required 'q' query parameter returns 400 Bad Request","Invalid node_type value returns 400 or empty results","Repository name not found returns empty result set","ontology_concept_uri not recognized returns no matches","confidence_min set too high returns empty results","top_k exceeding maximum of 200 returns 400","Payment not processed returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need the best of both keyword and semantic search over code — BM25 catches exact identifier matches while the vector component finds semantically similar code. Prefer this over the pure cosine-similarity sibling when you need precision on exact function names or identifiers alongside semantic relevance. Use when filtering by repository, domain, ontology concept, or test coverage is important for narrowing results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T21:39:21.536Z","isFirstParty":false,"canonicalSlug":"forwardlane-hybrid-code-search-aee5cac6"}