Skip to main content
POST
/
agents
/
{agent_id}
/
trust-edges
Create a trust edge from this agent to another
curl --request POST \
  --url https://api.mnemom.ai/v1/agents/{agent_id}/trust-edges \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "to_agent": "<string>",
  "weight": 0.5,
  "reason": "manual"
}
'
{
  "id": "<string>",
  "from_agent": "<string>",
  "to_agent": "<string>",
  "weight": 0.5,
  "reason": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "created": true
}

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

agent_id
string
required

Agent identifier (e.g. smolt-abc123)

Body

application/json
to_agent
string
required
weight
number
default:0.5
Required range: 0 <= x <= 1
reason
string
default:manual

Response

Edge created.

Directed trust-relationship edge between two agents (CLPI Phase 3). Used by the trust-topology RPC and the team reputation scorer.

id
string

Prefixed te-… identifier.

from_agent
string
to_agent
string
weight
number
Required range: 0 <= x <= 1
reason
string

Free-form label (e.g. manual, roster_coherence, co_deployment).

created_at
string<date-time>
created
boolean