Skip to main content
POST
Create a trust edge from this agent to another

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
enum<string>
default:manual

Edge provenance. Constrained to a fixed set; an out-of-set value returns 400.

Available options:
team_membership,
manual,
org_co_membership

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