abacusai.health_insight
Classes
A generated Health insight card (grounded in the user's connected wearable data). |
Module Contents
- class abacusai.health_insight.HealthInsight(client, healthInsightId=None, category=None, timeRange=None, title=None, body=None, sourceProvider=None, followUpPrompt=None, status=None, generatedAt=None)
Bases:
abacusai.return_class.AbstractApiClassA generated Health insight card (grounded in the user’s connected wearable data).
- Parameters:
client (ApiClient) – An authenticated API Client instance
healthInsightId (id) – The ID of the insight card.
category (str) – heart | sleep | activity | summary.
timeRange (str) – week | month | 3month.
title (str) – Short headline.
body (str) – 1-2 sentence insight body.
sourceProvider (str) – Provider the insight is attributed to (oura, fitbit, …).
followUpPrompt (str) – Suggested first-person question for the “Ask ->” chat follow-up.
status (str) – current | stale.
generatedAt (str) – When the card was generated.
- health_insight_id = None
- category = None
- time_range = None
- title = None
- body = None
- source_provider = None
- follow_up_prompt = None
- status = None
- generated_at = None
- deprecated_keys
- __repr__()