get_location_history
Retrieve a device's route, distance traveled, and stay locations over a specified time range to answer where someone was during that period.
Instructions
Route/track of a device in a time range, with distance travelled and places where it stayed.
Use the 'stays' list to answer "where was X" questions and 'points' for the route. Times are in the configured local time zone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End of range, same formats as start. A plain date means end of that day. Default: now. | |
| user | No | OwnTracks user name. "me" = configured default user. Omit for everyone (where supported). | |
| start | No | Start of range: 'today', 'yesterday', relative like '6h'/'2d'/'1w' (ago), a date '2026-09-27' or ISO time '2026-09-27T08:00'. Default: 24h ago. | |
| device | No | Device name of that user. Omit if the user has only one device. | |
| max_points | No | Max track points to return (thinned evenly). | |
| stay_min_minutes | No | Minimum time at one place to count as a stay. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||