# Log a time entry

Logs time against any project the caller can read — their own or one shared with the organization by a teammate. The entry belongs to the caller and stays private to them. startedAt defaults to now. With endedAt, duration is derived; with only durationSeconds, endedAt = startedAt + duration. One of endedAt or durationSeconds is required (timers start via /v1/timer/start). Timestamps are strict RFC3339. isBillable defaults true.

Canonical: https://easerix.com/docs/developers/api/croncrunch/entries/createEntry

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