Last night and the days before it
oura_todayRetrieve last night’s sleep, today’s readiness, and previous days of raw Oura records in one call, then compare current readings with recent history.
Instructions
Last night's sleep and today's readiness, with the days before them.
ONE CALL INSTEAD OF FOUR, and that is the whole of it. «How did I sleep?»
is the most common question there is, and answering it well means today's
two records plus enough history to know whether they are unusual — which
was four round trips through oura_query and four chances to stop early.
IT COMPUTES NOTHING. No average, no delta, no «your HRV is up 12%». The records come back raw and the comparison happens where the method can be cited. That is not an omission: across nine years of real data, three out of four changes between consecutive measurements fall inside the metric's own normal swing, so a server that hands over a percentage without saying how much the metric wanders on its own is manufacturing a signal.
today is very often empty and that is not an error: the ring syncs when
it feels like it, and the current day is the one most likely to be missing.
missing names whichever came back empty, so «no data yet» is never
mistaken for «nothing happened».
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days of context, ending yesterday. 1-30. |