Skip to main content

User

ToolPurposeKey parameters
user_infoProfile + saved bookmarks (Home/Work) + routinesoptional coords, service_area_id
get_activitiesActivities across verticalsactivity_status? (past | upcoming | ongoing), activity_type? (ride | food | groceries | shops | delivery), next_cursor? (paginate past activities)
track_activityLive tracking of one ongoing activityactivity_type (ride | food | groceries | shops), reference_id
Usage

Pass activity_type (ride | food | groceries | shops | delivery) to scope to one vertical — omit it for a cross-vertical view. activity_status takes past, upcoming, or ongoing (omit for all three). Results are paginated at up to 35 past activities per call; keep passing next_cursor to page further back (up to 3 calls / 105 activities). For live status, call get_activities(activity_status=ongoing) first, then track_activity with that entry's activity_type and reference_id for the current ETA.

tip

Use user_info to resolve "home" and "work" into saved addresses, and get_activities(past) to prefer the user's known favourites over cold search.

Flow
  1. Call user_info up front to resolve saved addresses and get service_area_id/city_id for other tools.
  2. Use get_activities to list past/upcoming/ongoing orders across verticals (page through past ones with next_cursor), then track_activity with an activity's reference_id for live tracking of an ongoing one.