POST /v1/logs/batch or the Python SDK; see How logs work for submission fields and the difference between lifecycle-tracked and point-in-time log types.
User login
Type:user_login · Source: Python SDK / REST · Extensible
Reserved for login events: app login; optional metadata.
Payload
Open key/value bag for client/source-specific fields that lack a typed slot; merged into the entry’s extensions (leaf-level, last-writer-wins by event timestamp).
Related types: Use
user_logout for logout, content_interaction or feature_usage for content or feature interaction, task_outcome for task completion.User logout
Type:user_logout · Source: Python SDK / REST · Extensible
Reserved for logout events: app logout; optional metadata.
Payload
Open key/value bag for client/source-specific fields that lack a typed slot; merged into the entry’s extensions (leaf-level, last-writer-wins by event timestamp).
Related types: Use
user_login for login. Not intended for other engagement (content_interaction, task_outcome, etc.).Content interaction
Type:content_interaction · Source: Python SDK / REST · Extensible
Reserved for user actions on content (view, bookmark, dismiss, etc.): content_type + action (viewed, bookmarked, dismissed, completed, shared, clicked); content_id, dwell_time_seconds optional.
Payload
Client-defined (e.g. card, article, video, recipe).. Example:
card, article, videoUser action on the content item.. One of:
viewed, bookmarked, dismissed, completed, shared, clickedIdentifier of the content item.
Display title of the content item.
Short preview or excerpt shown to the user.
Time spent viewing. Populated for viewed actions.
Reason for the action. Relevant for dismissed actions.
Open key/value bag for client/source-specific fields that lack a typed slot; merged into the entry’s extensions (leaf-level, last-writer-wins by event timestamp).
Related types: Use
notification_interaction for notification interaction, task_outcome for task completion, feature_usage for feature use.Notification interaction
Type:notification_interaction · Source: Python SDK / REST · Extensible
Reserved for push notification interactions: notification_type + action (opened, dismissed, snoozed); delivered_at, time_to_open_seconds optional.
Payload
Client-defined (e.g. medication_reminder, symptom_checkin, lab_result).. Example:
medication_reminder, symptom_checkin, lab_resultHow the user interacted with the notification.. One of:
opened, dismissed, snoozedISO 8601 UTC datetime when the notification was delivered.
Seconds between delivery and opening. Populated for opened actions.
Open key/value bag for client/source-specific fields that lack a typed slot; merged into the entry’s extensions (leaf-level, last-writer-wins by event timestamp).
Related types: Use
content_interaction for content interaction, task_outcome for task, interaction_feedback for in-app message feedback.Task outcome
Type:task_outcome · Source: Python SDK / REST · Extensible
Reserved for completion or skip of a discrete task or flow: task_type + action (completed/skipped); task_id, task_description, completion_time_seconds optional.
Payload
Client-defined (e.g. checkin, questionnaire, onboarding_step, medication_log).. Example:
checkin, questionnaire, onboarding_stepWhether the task was completed or skipped.. One of:
completed, skippedReference to the specific task instance.
Human-readable description of the task.
Time taken to complete the task in seconds.
Open key/value bag for client/source-specific fields that lack a typed slot; merged into the entry’s extensions (leaf-level, last-writer-wins by event timestamp).
Related types: Use
questionnaire_response for questionnaire response content, content_interaction for content view, feature_usage for feature use.Interaction feedback
Type:interaction_feedback · Source: Python SDK / REST · Extensible
Reserved for explicit user feedback on a system-generated item: target_type (e.g. message, content) + feedback_type (e.g. thumbs_up, flagged); target_id optional.
Payload
e.g. message, content or client-defined.. Example:
message, contentIdentifier of the item that received feedback.
e.g. thumbs_up, thumbs_down, bookmarked, flagged.. Example:
thumbs_up, thumbs_down, flaggedOpen key/value bag for client/source-specific fields that lack a typed slot; merged into the entry’s extensions (leaf-level, last-writer-wins by event timestamp).
Related types: Use
content_interaction for content action like bookmark, task_outcome for task skip, notification_interaction for notification.Feature usage
Type:feature_usage · Source: Python SDK / REST · Extensible
Reserved for interaction with a named app feature: feature_name; session_id, dwell_time_seconds optional.
Payload
Name of the app feature used. Client-defined string.
Session identifier linking multiple feature_usage events in one app session.
Time spent in the feature in seconds.
Open key/value bag for client/source-specific fields that lack a typed slot; merged into the entry’s extensions (leaf-level, last-writer-wins by event timestamp).
Related types: Use
content_interaction for content item action, task_outcome for task, user_login or user_logout for login/logout.
