Skip to main content
GET
Get trip analytics

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Path Parameters

tripId
integer
required

Trip ID belonging to the authenticated organization.

Query Parameters

range_days
enum<integer>
default:7

Analytics window in days; unsupported values fall back to 7.

Available options:
7,
14,
30,
90
reload
boolean

Forces synchronous cache refresh when true.

Response

Get trip analytics response.

data
object
reloaded
string | null

Reload marker; while a queued refresh is pending, data may contain only trip and reloaded.

status
string
Example:

"success"