Skip to content

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

301 B
Raw Blame
import type { UserProfileResponse } from "@paperclipai/shared";
import { api } from "./client";

export const userProfilesApi = {
  get: (companyId: string, userSlug: string) =>
    api.get<UserProfileResponse>(
      `/companies/${companyId}/users/${encodeURIComponent(userSlug)}/profile`,
    ),
};