Rensei docs

Read the bounded human-view knowledge-graph projection for a project.

Returns the curated, bounded human-view knowledge graph (nodes + edges with server-computed layout positions) for a project, scoped to the authenticated org. Deliberately bounded by a freshness window (default 30 days; widen with ?window=<days> or ?window=all) and top-N importance caps - the agent-facing full graph is not windowed. This is a platform-owned read projection, not a memory write surface.

GET
/api/projects/{projectId}/graph

Authorization

headerAuthorizationBearer <rsk_live_*>

Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.

Path Parameters

projectId*string

The project id.

Query Parameters

window?string

Freshness window in days, or "all" for all-time (default 30).

Response Body

The bounded project knowledge-graph projection.

application/json
  1. response
nodes*array<>
edges*array<>
truncated*boolean
edgesTruncated*boolean
window*
Example Request
curl -X GET 'https://app.rensei.ai/api/projects/string/graph'
Example Response
{  "nodes": [    {      "id": "string",      "name": "string",      "type": "string",      "description": "string",      "importanceWeight": 0,      "feedbackWeight": 0,      "properties": {        "property1": null,        "property2": null      },      "createdAt": "string",      "recall": {        "sessions": 0,        "lastRecalled": "string"      },      "position": {        "x": 0,        "y": 0      }    }  ],  "edges": [    {      "id": "string",      "source": "string",      "target": "string",      "relationshipName": "string"    }  ],  "truncated": true,  "edgesTruncated": true,  "window": {    "days": 0  }}