DaaS API
Docs & Playground
History/Events

Eventstoken required

Rule events in a window of up to 24 hours.

GET/daas/v1/events

Parameters

NameTypeRequiredDescription
fromdaterequiredWindow start (ISO-8601 UTC).e.g. 2026-10-27T00:00:00Z
todaterequiredWindow end (ISO-8601 UTC). At most 24 hours after from.e.g. 2026-10-27T06:00:00Z
vehicleIdstringoptionalOnly this vehicle (a vehicle id, e.g. 1-1807952).
ruleIdstringoptionalOnly events of this rule (a rule id, e.g. 1-72).
pageTokenstringoptionalThe nextPageToken of the previous page. Omit for the first page.
limitnumberoptionalRecords per call. Default and maximum 25,000.e.g. 100

Notes

Pages come in time order. When nextPageToken is not null, send it back with the same from, to and filters for the next page.

Request

curl
curl 'https://private.stage.questar.io/v2/private-questar-units/daas/v1/events?from=2026-10-27T00:00:00Z&to=2026-10-27T06:00:00Z&limit=100' \
  -H 'Authorization: Bearer YOUR_TOKEN'
URL
GET https://private.stage.questar.io/v2/private-questar-units/daas/v1/events?from=2026-10-27T00:00:00Z&to=2026-10-27T06:00:00Z&limit=100

Response

200 OK
{
  "data": [
    {
      "id": "1-23064435",
      "vehicleId": "1-1571840",
      "driverId": "1-582165",
      "ruleId": "1-61",
      "start": "2026-10-28T05:06:19.000Z",
      "end": "2026-10-28T05:06:19.000Z",
      "durationSeconds": 0,
      "distanceKm": 0
    }
  ],
  "nextPageToken": "eyJvIjoiMjAyNi0xMC0yN1QxNzowNjoxOC4wMDBaIiwiaWQiOiIxLTMzODk2NyJ9"
}

Errors use HTTP status codes with a body of { error: { code, message } }: 400 a bad parameter, 401 a missing or invalid token, 404 no record with that id, 500 a server error.

400 Bad Request
{
  "error": {
    "code": "bad_request",
    "message": "History is limited to 24 hours per call"
  }
}