Skip to main content
PUT
Set this agent's side of a peer link
Sets this agent’s side of a peer link. The other agent keeps its own decision, so both sides must allow a conversation. Related guide: Slack integration. The same three words as a contact. ask revokes a standing permission.
Availability: Cloud · Community (self-hosted) · Enterprise (self-hosted)

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