{"uid":"cap_UGaFcSb3-TZcz0Y-mTJuC","slug":"risk-graph-gx7v4-ondigitalocean-app-a2dddd97","name":"Risk Graph Dependencies API","description":"Direct (1-hop) dependencies of a pool — immediate neighbors + edge types","url":"https://risk-graph-gx7v4.ondigitalocean.app/api/v1/agent/dependencies","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"],"type":"string"},"queryParams":{"type":"object","required":["nodeId"],"properties":{"nodeId":{"type":"string","description":"Pool node id to fetch direct (1-hop) dependencies for."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["edges","neighbors"],"properties":{"edges":{"type":"array","items":{"type":"object","required":["type","sourceId","targetId","properties"],"properties":{"type":{"type":"string","description":"Edge label (e.g. \"ALLOCATES\", \"IS_COLLATERALIZED_BY\", \"BACKED_BY\")."},"sourceId":{"type":"string"},"targetId":{"type":"string"},"properties":{"type":"object","additionalProperties":true}}}},"neighbors":{"type":"array","items":{"type":"object","required":["id","labels","properties"],"properties":{"id":{"type":"string","description":"Stable node identifier — `nodeId` everywhere else in the API."},"labels":{"type":"array","items":{"type":"string"},"description":"PascalCase Neo4j labels (e.g. \"Pool\", \"Asset\", \"Protocol\", \"Chain\")."},"properties":{"type":"object","description":"Per-label property bag — see /agent/schema for the canonical keys. Risk is exposed as `_riskTier` (A–F) only. May also carry `tvlUsd` (canonical $ size), `riskBreakdown` (on /node — an array of {question, answer} explaining the grade, no numbers), and `lastUpdatedAt` (on /dependencies — ISO-8601 freshness).","additionalProperties":true}}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XGtAl8VkCJIUDcRCJMb8g","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the direct (1-hop) neighbors and edge types for a given pool node in a DeFi risk knowledge graph","exampleAgentPrompt":"Show me the immediate dependencies and edge relationships for pool node 'aave-v3-usdc-mainnet' in the risk graph — I want to see what assets, protocols, and chains it's directly connected to and what kind of edges link them.","exampleUseCases":null,"resultDescription":"Returns two arrays: 'neighbors' (each with a stable node ID, PascalCase labels like Pool/Asset/Protocol/Chain, and a property bag including _riskTier A–F) and 'edges' (each with source/target IDs, an edge type label like ALLOCATES or IS_COLLATERALIZED_BY, and additional properties). This gives a complete picture of the pool's direct graph neighborhood.","failureModes":["Missing or invalid nodeId returns a 400 or empty result","Unknown nodeId returns an empty neighbors and edges array","Payment not included or insufficient ($1 USDC) results in 402 Payment Required","Node exists but has no outgoing edges returns empty arrays","Rate limiting or service unavailability returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need to understand the immediate structural dependencies of a specific pool node — which assets back it, which protocols it allocates to, and what edge types define those relationships. Prefer this over the full recursive breakdown when you only need one hop of context and want lower cost and faster response. Use after looking up the nodeId via the discovery/search endpoint.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:39:46.548Z","isFirstParty":false}