Skip to content
Navigation

Walk the org-wide graph outward from an entity

Returns { entities, edges } — the neighbourhood of an entity within the org-wide (org) graph, up to ?depth= hops (1-3, default 1). Neighbour entities carry id, type, name, distance; edges carry sourceId, targetId, relation, fileId. Org-admin only — requires the admin role; non-admins get a 403.

GET
https://api.cloudraker.com/ontology/entities/{entityId}/related
Try it
Path parameters
Query parameters
Live API request

Authorization

  • bearerAuth
    HTTP
    required

Path parameters

  • entityId
    string
    required

Query parameters

  • depth
    optional
    integer

    Hops to walk, 1–3.

    maximum: 3 · minimum: 1 · default: 1

Returns

200

Neighbouring entities and the connecting edges.

JSON
  • entities
    array of
    object
    required
    • id
      string
      required
    • type
      string
      required
    • name
      string
      required
    • distance
      integer
      required

      Hops from the seed entity.

      maximum: 9007199254740991 · minimum: -9007199254740991
  • edges
    array of
    object
    required
    • sourceId
      string
      required
    • targetId
      string
      required
    • relation
      string
      required
    • fileId
      string
      required

      The file the relation was observed in.

Type to search…

↑↓ navigate↵ selectEsc close