Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

307 B
Raw Blame
import { User } from "@src/react/shared/types/entities";

export const deleteAccount = () =>
  fetch(`/api/page/account`, {
    method: 'DELETE',
  });

export const getUserInfo = async () => {
  const res = await fetch('/api/page/user/me');
  const json = await res.json();
  return json?.user as User;
};