# Completion rate and time over a date range

Every sent document the caller can see, optionally narrowed to a sent_at date range (from/to — RFC3339 or YYYY-MM-DD), with a summary (sentCount, completedCount, completionRate, avgCompletionSeconds) computed over the FULL filtered cohort plus the underlying documents for drill-down. completionRate is null (not 0) when sentCount is 0 — an empty period must never render as "0% completion". The cohort is always "documents sent in this window" for both the numerator and denominator; it is never silently swapped to "documents completed in this window" under a different sent_at filter.

Canonical: https://easerix.com/docs/developers/api/sign/engagement/completionStats

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