Skip to content

The open-source app everyone uses to manage agents at work

337 B
Raw Blame
import type { VoiceCallHistoryEntry } from "@paperclipai/shared";
import { api } from "./client";
export const voiceHistoryApi = {
  list: (companyId: string, endpointId: string) => api.get<VoiceCallHistoryEntry[]>(`/companies/${encodeURIComponent(companyId)}/voice-history/${encodeURIComponent(endpointId)}`, { cache: "no-store" }),
};