stays
Retrieve chronological stop records with start, end, duration, trip, and place. Reconstruct any day, week, or trip in order, with filters for city, country, and time period.
Instructions
The chronological list of stays over a period: every stop with start, end and duration, the trip it belongs to, and the place. Use it to reconstruct a day, a week or a trip in order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Granularity. Default place, which is every stop. | |
| city | No | Filter to one city, by name. | |
| since | No | Start, YYYY-MM-DD or an ISO timestamp. | |
| until | No | End, exclusive. YYYY-MM-DD or ISO timestamp. | |
| period | No | Window to look at: today, yesterday, this_week, last_week, this_month, last_month, this_year, last_N_days, or all. Boundaries are local to where the user is, not UTC. Ignored when since/until are given. | |
| country | No | Filter to one country, name or ISO code. | |
| min_minutes | No | Drop stays shorter than this. Default 0. |