Skip to main content
GET
Get a graph edge
Scoped by source-node ownership (the subject must own the edge’s sourceNodeId); an edge that does not exist, or whose source the subject does not own, returns 404 edge_not_found (existence cannot be probed).

Authorization

This route requires the read scope. A missing or invalid credential returns 401 authentication_error. A valid credential without the scope returns 403 permission_denied, and the problem body names the exact scope required.

Headers

These are request conventions the contract does not declare as parameters, so they do not appear in the schema tables below.

Success responses

Errors

Beyond the shared statuses, this route can answer with edge_not_found. Every problem body names its own code, and the type URI always resolves to the matching page. Every error is an RFC 9457 application/problem+json body carrying a stable code, a requestId, and a suggestedAction where Exo has one. See Errors.

Authorizations

X-Exo-API-Key
string
header
required

An Exo API key (exo_...) sent as the X-Exo-API-Key header.

Path Parameters

edge_id
string
required

The edge id.

Response

Successful Response

A knowledge-graph edge primitive.

directionality is the edge's directional stamp in [-1, 1]; directionalitySource records how it was stamped (structural, nli for natural-language inference, none, ...). Asserted edges written through the public API carry origin semantics on the node side; this read surface returns the stored edge as-is.

createdAt
string<date-time>
required
directionality
number
required
edgeType
string
required
id
string
required
sourceNodeId
string
required
targetNodeId
string
required
weight
number
required
directionalitySource
string | null
rationale
string | null