Traverse memory graph
Traverse the memory graph starting from a given memory ID. Returns connected memories within the specified depth.
Traverse the memory graph starting from a given memory ID. Returns connected memories within the specified depth.
Authorization
bearerAuth AuthorizationBearer <token>
API key obtained via invite redemption or SIWE login
In: header
Path Parameters
id*string
Starting memory ID
Query Parameters
depth?integer
Graph traversal depth
Default
2Range
1 <= value <= 5relation_type?array<>
Filter by relation type
min_strength?number
Minimum edge strength
Range
0 <= value <= 1limit?integer
Maximum number of nodes to return
Default
50Range
1 <= value <= 200Response Body
application/json
application/json
application/json
curl -X GET "https://chorus.runclaw.run/memory/graph/string"{
"data": {
"nodes": [
{
"id": "string",
"content": "string",
"memory_type": "string",
"owner": "string",
"namespace": "string",
"entity": "string",
"category": "string",
"tags": [],
"confidence": 1,
"source": "string",
"metadata": {
"property1": null,
"property2": null
},
"source_org": "string",
"source_claw": "string",
"deleted_at": "string",
"expires_at": "string",
"created_at": "string",
"updated_at": "string",
"edge": {
"relation_type": "supports",
"strength": 0
}
}
]
},
"meta": {
"request_id": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"request_id": "string"
}
}{
"error": {
"code": "string",
"message": "string",
"request_id": "string"
}
}