Maintain a sourced time series
Before you start. Story edit/read. Manual observations avoid an AI call.
-
Create a manual series with a named unit, such as depots that accepted a return. Collect two dated observations with their evidence URLs.
-
Use
import_story_metricsto save the points, then readlist_story_metrics. Compare units and dates before combining the values. -
To correct a value, use
add_story_metricwith its expected revision and a source for the correction. Inspect the previous revision to see what changed. Manual entry needs no model call.
Import, correct and audit a manual chart · Tool reference
Source files api/src/lib/metricObservations.ts.