# Record activity events

Batch insert (max 500 per call) from the desktop app. Rejected with 403 unless the caller has activityEnabled. entryId, when given, must belong to the caller. appName is truncated to 200 chars, windowTitle to 500.

Canonical: https://easerix.com/docs/developers/api/croncrunch/monitoring/createActivityEvents

{/* 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="croncrunch" operations={[{"path":"/v1/activity/events","method":"post"}]} />
    </>
  );
}
