Sleep Debt is not available through the Oura API — but you can calculate it yourself from the sleep data that is.
Everything you need is already in
/v2/usercollection/sleep: the nightlytotal_sleep_durationvalues. The debt figure is just a weighted sum over the last 14 of them, against one personal constant you have to calibrate once. This gist gives you the formula, the reference implementation, and — the part that actually matters — how to verify your version is right rather than merely plausible.
Oura's app shows a Sleep Debt figure on its Sleep screen. It appears nowhere in the public API, and no amount of proxying the app will find it: Oura computes it on-device, in a native engine called ecore, and writes it straight to the app's local database. Opening the Sleep Debt screen generates no network traffic at all. So there is nothing to intercept — but there is enough in the API to rebuild the number.
Result: **13 of 15 re