# Workspace switcher list

Every workspace the caller belongs to (personal workspace self-healed first), each with member_count, is_default, and the caller's teams in that workspace. No tools field here — tool access is per active workspace and arrives with the session.

Canonical: https://easerix.com/docs/developers/api/auth/me/myWorkspaces

{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

export default function Layout(props) {
  const { APIPage, OpenAPIPage } = props.components ?? {};
  // "APIPage" is the old name from v10, this allows both for backward compatibility
  const Comp = OpenAPIPage ?? APIPage;
  return (
    <>
      {props.children}
      <Comp document="auth" operations={[{"path":"/v1/me/workspaces","method":"get"}]} />
    </>
  );
}
