# Unread counts per workspace

The total and the unread count of every workspace the caller belongs to now, zero included, read from counters (no rows are counted). A delegated token (API key, OAuth grant) gets its own workspace only.

Canonical: https://easerix.com/docs/developers/api/notifications/feed/countNotifications

{/* 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="notifications" operations={[{"path":"/v1/notifications/counts","method":"get"}]} />
    </>
  );
}
