Fetch all the waste pickup events

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Purpose: The purpose of this endpoint is to give an authenticated company a searchable, paginated list of published waste pickup events within a requested time window. t is the discovery endpoint: you use it to find which pickup events exist before drilling into any one event in detail.

🚧

IMPORTANT

This endpoint uses "OAuth 2.0 Client Credentials authentication through Motive CIAM". Check out the Overview - Authentication section for more info on generating the access token required to call this endpoint.

šŸ“˜

NOTE

If you do not send has_overage, has_contamination, orinclude_all_pickups, it returns flagged events only.

Fields such as thumbnail_url, sd_url, front_facing_url, and rep_frame_url are presigned Amazon S3 GET URLs. They expire 3 hours after issuance (X-Amz-Expires=10800). Do not cache or persist them; request a fresh list or detail response when URLs expire.

Response Parameters

events

  • Type: Array (Object)
  • Description: A list of recorded event objects containing details about specific vehicle activities or occurrences.

offline_id

  • Type: String (UUID)
  • Description: The unique offline identifier assigned to the event.

type

  • Type: String
  • Description: The classification or category of the event (e.g., pickup).

start_time

  • Type: String (Timestamp)
  • Description: The date and time when the event began, in ISO 8601 format.

address

  • Type: String
  • Description: The physical location or street address where the event took place.

lat

  • Type: Float
  • Description: The geographical latitude coordinate of the event location.

lon

  • Type: Float
  • Description: The geographical longitude coordinate of the event location.

severity

  • Type: String
  • Description: The level of severity associated with the event (e.g., high).

has_overage

  • Type: Boolean
  • Description: Indicates whether the event involved an overage situation.

has_contamination

  • Type: Boolean
  • Description: Indicates whether contamination was detected during the event.

thumbnail_url

  • Type: String (URL)
  • Description: A pre-signed URL pointing to a thumbnail preview image of the event.

sd_url

  • Type: String (URL)
  • Description: A pre-signed URL pointing to the standard definition video recording of the event.

driver

  • Type: Object
  • Description: Details about the driver assigned to the event, if available.

vehicle

  • Type: Object
  • Description: Details regarding the vehicle associated with the event.

id

  • Type: String
  • Description: The unique identifier for the vehicle.

number

  • Type: String
  • Description: The fleet vehicle or unit number.

vin

  • Type: String
  • Description: The Vehicle Identification Number (VIN).

model_source

  • Type: Array (String)
  • Description: List of AI or system model sources triggered by the event.

overage

  • Type: String
  • Description: Model source tag indicating overage detection.

has_out_of_cab

  • Type: Boolean
  • Description: Indicates whether an out-of-cab incident or view was flagged during the event.

rep_frame_url

  • Type: String (URL)
  • Description: A pre-signed URL pointing to a representative frame image of the event.

page_no

  • Type: Integer
  • Description: The current page number of the paginated response.

per_page

  • Type: Integer
  • Description: The maximum number of events returned per page.

total

  • Type: Integer
  • Description: The total number of events matching the query across all pages.

Query Params
string
required

Specify the start time for the waste pickup event(s). RFC3339 datetime; inclusive lower bound on pickup start_time.

string
required

Specify the end time for the waste pickup event. RFC3339 datetime; inclusive upper bound on pickup start_time; must be after start_time.

double

Latitude for an approximate 100 m bounding-box filter. Must be provided together with lon.

double

Longitude for an approximate 100 m bounding-box filter. Must be provided together with lat.

string

Specify either a single or multiple driver IDs, separated by commas.

string

Specify either a single or multiple vehicle IDs, separated by commas.

string

Specify the severity of the event. Allowed values are

  • critical
  • high
  • medium
  • low

boolean

Specify if the pickup has an overage or not.

boolean

Specify if the pickup has contaminated goods.

boolean

Specify if all the pickups (not only flagged), are to be returned in the response.

  • true: Returns all published pickups including flagged pickups.
  • false: Returns only flagged pickups.

string
enum

Group the response instead of a flat list of pickup events.

Allowed:
string
enum

Sort the pickups based on the mentioned criteria. You must also specify the sort_direction, if using this parameter.

Allowed:
string
enum

Specify the sort direction for the response.

Allowed:
int32
Defaults to 1

Specify the pagination number.

int32
Defaults to 50

Specify the number of events in a page.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json