# ActiveGather Reconstruct a day from activity classifications collected by the user's iPhone. GET /v1/days/{date}?tz=Asia%2FShanghai Authorization: Bearer Use a YYYY-MM-DD date and the user's IANA time zone. Supply the key in the Authorization header. Never include it in URLs or the resulting narrative. - If a report is present, use its segments for observed classifications, its inferences for low-confidence suggestions, and its qualitySpans for uncertainty. Report timestamps are Unix seconds. - If there is no report, use rawEvents as timestamped phone classifications. Multiple flags or conflicting events can occur. Do not assume that the last classification persisted until midnight. - Describe missing intervals as unknown. A phone classification cannot identify locations, people, intent, or what happened while the phone was elsewhere. # Locations Location observations (visits and significant location changes) are a separate data source from activity classifications. GET /v1/locations/days/{date}?tz=Asia%2FShanghai[&device_scope_id=] Authorization: Bearer Returns the raw location events for that local calendar day in occurrence order. Add the optional device_scope_id query parameter to restrict the day to a single device scope; without it the response mixes every device's events for that day. "visit" records are stay clues with arrivalDate/departureDate (null when unknown), "significantChange" records are sparse movement clues whose sampleDate is the system sample time. Coordinates are exact, with the original horizontalAccuracy in meters (negative = unknown). Treat the points as discrete observations, not a route: they do not imply the path or the mode of travel between them, and sparse samples can miss movement entirely. Responses are never cached. GET /v1/locations/progress?device_scope_id= returns how many events were confirmed for a device and the latest confirmed occurrence time.