Wasanidi
gcri_neighbours
NXS Risk Intelligence API
GET /v1/neighbours/{id} EServed
Typed neighbours of a GCRI record
The outgoing typed links of a record and the inverse links over the resolvable corpus, to depth 3 at most, optionally for one rel of the link vocabulary. A node outside the corpus is a leaf: its own neighbours are its network's. State: exists.
MCP tool: gcri.neighbours
Parameters
| Jina | In | Type | Kazi yake |
|---|---|---|---|
id required | path | string | A resolvable GCRI CURIE Example: gcri:signal-source/wri-aqueduct |
depth optional | query | integer | Depth 1 to 3 (default 1) Example: 1 |
rel optional | query | string | One rel of the link vocabulary |
Responses
- 200 Records with provenance
- 304 Not modified: the If-None-Match validator matched the current ETag (a problem, RFC 9457)
- 400 Bad request (BAD_PAGE, BAD_KIND, BAD_ID, BAD_STATE, BAD_JSON, BAD_BODY) (a problem, RFC 9457)
- 404 NOT_FOUND, or NOT_YET_PUBLISHED for a designed route (a problem, RFC 9457)
- 429 RATE_LIMITED: open-tier rate limit (a problem, RFC 9457)
- 500 INTERNAL: unhandled error (a problem, RFC 9457)