Crunch Time: Embrace the Cookie Monster Within!

We use cookies to enhance your browsing experience and analyse our traffic. Nothing beyond essential cookies runs until you choose. You can change your mind any time in our Cookie Policy.

  • Unified API
  • Mobile SDK
  • Connection Widget
  • Streaming
  • Lab Reports API
  • Graph API
  • Health Scores
  • Health Rewards
  • Workouts & Routes
  • Predictions
  • Lab Testing
  • DNA Testing
  • AI Interface
  • Enterprise
  • Insurance
  • Integrations
  • Research
  • Podcast
  • Blog
  • Reports
  • Events
  • Documentation
  • Community
  • Example apps
  • Wearable Data
  • About
  • Customers
  • Partners
  • Startup Accelerator
  • Careers
  • Support
  • Pricing
Terra
Pricing
Become an integrationGet started


zap

Latest

zap

Popular

API

Unified API

SDK

Phone SDK

Authentication

Widget

Streaming

Streaming

Graph API

Graph API

Garmin Splits

All

RidiculousTiger3 months ago

Are Garmin splits available in running activities?

terra

Vanessaadmin3 months ago

Hi Rio,

Garmin splits are available in running activities von each Terra activity payload. Both automatic splits and manually pressed laps come through, and you can tell them apart using the trigger_method field on each lap.

Each lap sample carries:

  • start_time / end_time (ISO 8601)
  • distance_meters
  • active_duration_seconds
  • avg_hr_bpm
  • avg_speed_meters_per_second
  • avg_watts
  • calories
  • trigger_method: one of MANUAL, DISTANCE, TIME, POSITION_START, POSITION_LAP, POSITION_WAYPOINT, POSITION_MARKED, SESSION_END, FITNESS_EQUIPMENT, or UNSPECIFIED

DISTANCE and TIME are the auto-split triggers (Garmin's auto-lap by distance or time interval, configured on the device). MANUAL is what you get when the athlete presses the lap button. It's common for a single run to contain a mix of both in the same array, so filter on trigger_method if you only want one kind.

The full activity payload shape is shown in the quickstart: https://docs.tryterra.co/unified-api/quickstart. Happy building!