Connection graph

Return a renderable subgraph of nodes and edges for visualizing how the brain’s pages relate. Use nodeLimit to keep the payload small enough to draw.

Authentication

x-api-keystring

Your Living Brain API key. Create one from the dashboard; keys are scoped to an organization and carry the role of the member they were issued to.

Path parameters

brainIdstringRequired
Brain id

Headers

x-subject-idstringRequired
Identifies the end user the request is made on behalf of. Brains are owned by a subject, so this determines which brains the caller can see.

Query parameters

nodeLimitintegerOptional

Response

nodeslist of objects
Pages to draw, capped by the requested node limit.
edgeslist of objects
Connections between the returned nodes.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error