MCPcopy Index your code
hub / github.com/coder/coder / watchAgentContainers

Function watchAgentContainers

site/src/api/api.ts:191–197  ·  view source on GitHub ↗
(
	agentId: string,
)

Source from the content-addressed store, hash-verified

189};
190
191export const watchAgentContainers = (
192 agentId: string,
193): OneWayWebSocket<TypesGen.WorkspaceAgentListContainersResponse> => {
194 return new OneWayWebSocket({
195 apiRoute: `/api/v2/workspaceagents/${agentId}/containers/watch`,
196 });
197};
198
199type WatchInboxNotificationsParams = Readonly<{
200 read_status?: "read" | "unread" | "all";

Callers 1

useAgentContainersFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected