Split/extended bolus log and stats
get_split_bolus_logRetrieve extended/dual-wave bolus events with delivery percentages and durations to analyze split-bolus usage and correlate with post-meal glucose control.
Instructions
Every SPLIT (extended/dual-wave) bolus in the window — one with a real extended-delivery portion, not a normal single-shot dose — plus aggregate stats over the whole bolus population for the same window.
Each logged bolus carries initialDeliveryPercent and extendedDeliveryPercent (Glooko reports the split directly as a percent pair, e.g. 60/40), and durationString, Glooko's own raw formatted text for the extended portion's duration (e.g. "2h") — passed through as-is, not parsed, since no confirmed format spec exists for it across devices.
Use it to see whether/how often splitting is actually used, and whether the split ratio correlates with post-meal control (pair with get_meal_window_analysis on individual events).
Capped to 92 days per call. Times are plain wall clock time (device-local), not UTC.
Returns: window, stats (totalBoluses, splitCount, splitRatePercent, avgInitialDeliveryPercent — all null/0 for a window with no split boluses, which is a normal result for an automated closed-loop user, not an error), and a boluses array of the split events themselves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Required. Window end as an ISO 8601 timestamp, e.g. 2026-06-20T00:00:00.000Z — plain wall clock time, same caveat as start (the "Z" is a format artifact, not a UTC claim). Treated as inclusive and must be after start. All timestamps returned by this API are likewise plain wall clock time, unconverted. | |
| start | Yes | Required. Window start as an ISO 8601 timestamp, e.g. 2026-06-19T00:00:00.000Z. IMPORTANT: despite the trailing "Z", this is plain WALL CLOCK time, not true UTC — Glooko records only the literal date/time the patient's device showed, with no timezone attached. Use the patient's own wall-clock digits directly (no conversion): resolve "yesterday" or "last 3 weeks" straight into the matching wall-clock date and time. Treated as inclusive. |