Interface HealthExercise

Single exercise returned by readExercises.

Each platform's native workout record is normalized into this shape. All numeric fields use canonical SI / metric units to keep the eitri-app code identical across platforms.

Hierarchy

  • HealthExercise

Properties

id: string

Native identifier. Stable across reads — useful as a key for deduplication.

exerciseType: string

Activity type as reported by the underlying platform. Not normalized across platforms

Reference of values each platform may emit:

Originating platform and any platform-specific metadata for this exercise.

startDate: string

ISO-8601 instant in UTC (e.g. "2026-05-17T10:00:00Z").

endDate: string

ISO-8601 instant in UTC (e.g. "2026-05-17T10:00:00Z").

durationSeconds: number

Duration of the exercise in seconds.

title?: string

Short title set by the recording app (e.g. "Morning run"). Optional.

notes?: string

Free-form notes set by the recording app. Optional.

Generated using TypeDoc