# Internal: read CRDT state (notes-sync only)

Service-to-service surface for the notes-sync realtime server, gated
by the X-Internal-Key shared secret (501 when unconfigured). Returns
the stored Yjs binary state (base64, empty when none) plus the current
JSON projection and rev so a fresh Y.Doc can be seeded.


Canonical: https://easerix.com/docs/developers/api/notes/system/internalGetSyncState

{/* 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="notes" operations={[{"path":"/internal/pages/{id}/sync","method":"get"}]} />
    </>
  );
}
