# Log a suggested span

Turns one continuous run of the same app into a time entry on a project the caller can read. The spans must belong to the caller, must not already be logged, and must not contain a hole longer than 2 minutes. The entry is never billable; the caller can mark it billable afterwards. The spans are then linked to the entry so they leave the suggestion timeline. 409 when the spans were already logged, or the time falls in a submitted or approved week.

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

{/* 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/suggestions","method":"post"}]} />
    </>
  );
}
