pointeron
  • Docs
  • API
  • Store
  • Home
  • Docs
  • Store
  • Home
  • Guides

    • Introduction
    • Quickstart
    • SDKs
    • Authentication
    • Pagination
    • Errors
    • Webhooks
  • Resources

    • Organizations
    • Assets
    • Devices
    • Locations
      • Distance analytics
      • Saved ranges in the first-party application
    • Geofences
    • Alerts
    • Webhooks
    • API Keys
    • Data Exports
    • Circles (v1)
  • Sign in
PreviousDevices
NextGeofences

Locations

First-party dashboard Playback requests one calendar day in the selected IANA timezone (date=YYYY-MM-DD&timezone=Europe/Ljubljana), including daylight-saving transitions, with at most 50,000 raw points and explicit truncation counts. Multi-day dashboard Overview uses the bounded trips overview representation, whose selected-period totals are independent of detail pagination. The authenticated asset history response includes playback_period with the requested date/timezone and server-derived UTC from (inclusive) and to (exclusive). The last fractional second belongs to the day; the following midnight belongs to the next day. Both date and timezone are required. Timestamp aliases, omitted rolling-day requests and client-selected context windows return 422; multi-day raw playback is retired in the coordinated web/mobile transition explicitly selected by the owner. Multi-day display uses overview and incident context uses the authorized alert endpoint.

Public-share GET /api/v1/public/shares/{slug}/history requires the same explicit calendar date and IANA timezone, preserves share/password/history/speed permissions, and returns at most 2,000 points with effective period, availability and truthful count/truncation metadata. The viewer displays the selected organization timezone. Public API-key v2 cursor history and device troubleshooting remain independent. See the upgrade notice for the coordinated rollout boundary; source publication is not a mobile rollout.

Authenticated GET /api/v1/assets/{asset}/trips with view=overview can opt in to include_insights=true. The optional insights object ranks at most five approximate stay-grid areas, city/country groups and longest persisted full-GPS trips over the complete selected period, independent of detail pagination. Overlapping visit counts differ from visits starting in the range; estimated stay time is clipped to it. Source coverage and unknown geography are explicit. Trip distances are whole-trip values for trips starting in the range, and provisional trips are marked. This read reuses the overview refresh and does not perform geocoding or scan raw location history.

The same opt-in response adds route_pattern_coverage and up to five repeated_routes, grouped by current directed sequences of sampled cells. These are approximate observed patterns; matching samples do not prove the same roads or travel between observations. Whole trips are selected by start time. Total, eligible, singleton/repeated, mutually exclusive exclusion and unknown certificate counts cover the full selected period. Supplemental eligible_unknown_accuracy_trips and eligible_unknown_accuracy_points report unreported precision. Projection completeness is independent of source coverage.

GET /api/v1/assets/{asset}/trips/{trip}/route returns a representative member's retained whole-trip geometry under the asset view policy and original tenant checks, independently of overview pages and their display budget. Its status is available, missing or stale; route_features preserve separate segments and at most 1,200 vertices, while geometry retains simplification/loss metadata. Missing/stale data does not mean no travel. The endpoint never reads raw history, materializes or geocodes; authorization errors return 401/403/404.

Rankings include persisted trips and stays whose source hours no longer certify the current segmentation. source_complete reports certified hour coverage, not the version of every retained entity. In such periods, insight trip-start counts can differ from the separate certified statistics.

Location history has the same native 13-calendar-month retention across all plans. Older history stays compressed and queryable until eligible complete chunks expire; deletion does not require an archive and is not an exact per-row anniversary promise. Derived trips, stays, routes, overview hours and stay geography follow the same cutoff: a daily job deletes them once they lie wholly before it, so they do not outlive raw history. Saved-range metadata survives, but its derived content expires. The plan metadata field data_retention_months is authoritative; deprecated day metadata does not grant unlimited retention.

For API-key integrations, use GET /v2/locations to query points and POST /v2/locations or POST /v2/locations/batch to ingest points. See the v2 OpenAPI specification for request and response details.

Distance analytics

GET /v2/analytics/distance (scope analytics:read) returns the distance each asset traveled in a period of up to 90 days, one cursor page of assets at a time (limit at most 25, ordered by asset ID, optional asset_id). It is the same authoritative total the app's history statistics show: the movement of every detected trip inside the period, including open trips and trips crossing the period edges, clipped to the second. It is not a sum of whole completed trips. Real movement too short to be a trip (below the asset's minimum trip distance, confirmed by a moving device or speed, with the position leaving the GPS noise radius) counts too; parked GPS jitter and idling in place with ignition on never do. It does not scan raw points per request: it reads derived history facts that are proven against the retained observations. A late upload within the last two days is recalculated on the next request; one into older hours once the hourly location aggregate's late-data refresh has run (about an hour later). The organization's current local day continues the same trip state the Home summary reads, so open trips count without rebuilding the day.

A date-only from starts at midnight UTC and a date-only to includes its UTC day; measured_from and measured_to echo the exact half-open bounds, clipped to now. One request re-segments at most 7 unproven closed asset-days, newest first, and starts no further on-demand work after about two seconds. An asset with remaining pending_days has source_complete: false, and its distance is partial until a later request completes it. The current day also stays pending while a trip that is still open crosses the start of the period. Sparse sources such as iCloud keep point counts with a null distance. See the v2 OpenAPI specification for the response schema.

Saved ranges in the first-party application

Authenticated first-party asset users can save named ranges and plain-text notes with /api/v1/assets/{asset}/saved-trips. This metadata is organization-shared under the asset view/update policies; it is not part of the public v2 API or public share links. GET lists metadata (25 by default, at most 100), POST creates, and /{savedTrip} supports GET, PATCH and DELETE. /{savedTrip}/overview opens the bounded derived overview for the saved authoritative UTC interval.

Create with name, optional notes, inclusive start_date/end_date and an IANA timezone. Names allow 255 trimmed single-line Unicode characters, notes allow 10,000 plain-text characters, and ranges allow 367 selected calendar dates. Store the returned original dates/timezone and half-open UTC period.from/period.to. Later organization timezone changes do not move saved bounds. Period edits require all three selection fields; name/note edits leave the interval unchanged.

PATCH and DELETE require the exact returned updated_at revision string, including six fractional digits; never round it through a JavaScript Date. A stale revision returns 409 and clients keep their draft until the user explicitly reloads. The saved record survives raw expiry and trip resegmentation; overview availability and geometry remain limited by currently retained source. Saving does not extend location retention. Location erasure removes the metadata, and exports remain scoped to its original organization after transfers.

Was this page helpful?