Skip to main content
PUT
Set this agent's side of a peer link

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

agentId
string
required
peerAgentId
string
required

The other agent. It may live in another workspace of the same organization.

Body

application/json
policy
enum<string>
required
Available options:
ask,
allow,
blocked

Response

The link row

id
string
policy
enum<string>
Available options:
ask,
allow,
blocked