{"uid":"cap_BJ6-9Dkxc7KF5d8YYe1Eb","slug":"forwardlane-repository-neighbors-lookup-e5c3ac1b","name":"ForwardLane Repository Neighbors Lookup","description":"Returns repo, total_neighbors, and the neighbor list for one repository. Returns 404 if the repository is unknown.","url":"https://agents.forwardlane.com/api/graph/neighbors/:name","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"},"pathParams":{"name":{"type":"string"},"type":"object"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MkVvllJpWHgoJBb1JByqV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the neighbor list and total neighbor count for a given repository node in the ForwardLane code-graph knowledge base.","exampleAgentPrompt":"What are the graph neighbors of the 'langchain' repository in the ForwardLane code graph?","exampleUseCases":[{"title":"Dependency graph exploration for a repo","prompt":"Can you look up all the neighboring repositories connected to 'fastapi' in the ForwardLane code graph so I can understand what it's related to?"},{"title":"Checking if a repository is indexed","prompt":"Is the 'numpy' repository known to ForwardLane's graph? If so, what are its neighbors?"},{"title":"Mapping adjacent repos for refactoring planning","prompt":"I'm planning a refactor and need to know which repositories are directly linked to 'sqlalchemy' in the code graph — can you pull up its neighbors?"}],"resultDescription":"Returns a JSON object containing the repository name, total number of neighbors (total_neighbors), and a list of neighbor repository nodes. Returns a 404 error if the repository name is not found in the graph.","failureModes":["404 Not Found — repository name does not exist in the ForwardLane graph index","Incorrect or misspelled repository name returns 404","Repository exists but has zero neighbors (empty neighbor list returned)","Rate limiting or payment failure due to x402 protocol issues"],"whenToPreferThis":"Use this endpoint when you need to retrieve the direct graph neighbors of a specific, known repository by name from the ForwardLane code knowledge graph. It is the most efficient single-hop lookup for adjacency data. Prefer this over the full-graph or search endpoints when you already know the exact repository name and only need its connected nodes, not a broader search or full subgraph traversal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-19T06:41:13.110Z","isFirstParty":false}