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

AuthorizationBearer <token>

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

In: header

Path Parameters

projectId*string

The project id.

Query Parameters

window?string

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

Response Body

application/json

curl -X GET "https://example.com/api/projects/string/graph"
{
  "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
  }
}
Empty
Empty
Empty
Empty