For the complete documentation index, see llms.txt. This page is also available as Markdown.

Can I detect and exclude manually entered steps?

Most wearable APIs flag manually entered data, surfaced in metadata.upload_type

Most wearable APIs flag manually entered data, surfaced in metadata.upload_type:

  • 1 = automatically tracked by a device

  • 2 = manual entry

  • 0 = unknown/unclassified

To keep only authentic activity, filter to upload_type = 1 (or exclude 2). The field appears in daily, activity and other payloads. There is no server-side filter, so apply this check on the payloads you receive.

Note on Apple Health: if any sample in a day is manually entered, the whole payload carries upload_type 2. Terra sets a single overall flag and does not store which specific sample was manual.

Field definitions are in the data models reference.

Last updated

Was this helpful?