Skip to content
Browse documentation
Add data / ATH documentation

ath import

Load device exports into your record.

Usage

$ath import ~/Downloads/export.zip

Arguments

<path>
Required. ZIP, extracted export folder, export.xml or supported vendor CSV.

What it does

Detects Apple Health, WHOOP and Oura exports from a ZIP, extracted folder, Apple Health export.xml or supported vendor CSV. Adds measurements to the record and dense samples to series/. Re-importing the same export does not duplicate the same records.

Examples

Export from the original device service when possible. Apple Health may not contain everything another wearable recorded. The import report lists what was added or skipped. ATH can offer to link previously logged results to sessions that arrive in the export.

$ath import ~/Downloads/export.zip --json

Options

--file <path>
import into a file other than the one in this folder
--json
structured output, for an agent rather than a person

Related commands

Up nextath log →