protolabs42

memory/relate

Create a typed graph edge between two memories.

POST
/rpc#memory.relate

Create a typed graph edge between two memories.

Authorization

bearerAuth
AuthorizationBearer <token>

API key obtained via invite redemption or SIWE login

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://chorus.runclaw.run/rpc#memory.relate" \  -H "Content-Type: application/json" \  -d '{    "from": "string",    "to": "string",    "relation_type": "supports"  }'
{
  "id": "string",
  "in": "string",
  "out": "string",
  "relation_type": "supports",
  "strength": 1,
  "metadata": {
    "property1": null,
    "property2": null
  },
  "created_at": "string"
}