Skip to main content
All endpoints return application/json unless stated otherwise.

Status codes

Error response shape

Errors return a single error field:

Empty states are not errors

When a device has no data for the requested day, the endpoint still returns 200. List fields come back as an empty array and summary values as null:
Treat empty arrays and null summaries as “no reading for this period,” not as a failure. This is common for intermittently measured metrics such as ECG, metabolic markers, and body composition.

Retry guidance

  • For 500, retry with exponential backoff (for example 1s, 2s, 4s) up to a few attempts.
  • For 401 and 404, do not retry — fix the request first.
  • If 500 responses persist for an endpoint, contact support@stealthera.in.