Skip to content

Commit 99bafb7

Browse files
author
Braden Olsen
committed
Adds mute and unmute agent APIs
Adds RPC endpoints to mute and unmute agents, enabling control over agent communication within the system. The new APIs allow for muting and unmuting based on the partner agent ID.
1 parent a8ab142 commit 99bafb7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

tcnapi/exile/gate/v2/public.proto

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,19 @@ service GateService {
318318
body: "*"
319319
};
320320
}
321+
rpc MuteAgent(MuteAgentRequest) returns (MuteAgentResponse) {
322+
option (google.api.http) = {
323+
post: "/tcnapi/exile/gate/v2/agents/{partner_agent_id}/mute"
324+
body: "*"
325+
};
326+
}
327+
328+
rpc UnmuteAgent(UnmuteAgentRequest) returns (UnmuteAgentResponse) {
329+
option (google.api.http) = {
330+
post: "/tcnapi/exile/gate/v2/agents/{partner_agent_id}/unmute"
331+
body: "*"
332+
};
333+
}
321334
}
322335

323336
// TimeRange represents an inclusive time interval for filtering logs.
@@ -1468,3 +1481,13 @@ message AddRecordToJourneyBufferResponse {
14681481
REJECTED = 3;
14691482
}
14701483
}
1484+
1485+
message MuteAgentRequest {
1486+
string partner_agent_id = 1;
1487+
}
1488+
message MuteAgentResponse {}
1489+
1490+
message UnmuteAgentRequest {
1491+
string partner_agent_id = 1;
1492+
}
1493+
message UnmuteAgentResponse {}

0 commit comments

Comments
 (0)