API ReferenceChangelogDiscussions
Log In
API Reference

KPI summary

Returns a single driver-level KPI aggregated by users over a period. In this version only aggregationMode=USERS and granularity=TOTAL are supported.

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

Request for the KPI summary endpoint: a single KPI aggregated by users, agency or subcontractor over a given period.

agenciesIds
array of strings

Restrict aggregation to these agency ids.

agenciesIds
string
enum
Defaults to USERS

Entity dimension the KPI values are aggregated by.

Allowed:
date-time

Custom period end (exclusive), used when periodType is CUSTOM.

string
enum
Defaults to TOTAL

Time granularity of the returned KPI values.

Allowed:
string
enum

KPI to summarize. Only a subset of KpiList values is supported by this endpoint; unsupported values are rejected.

string
enum
Defaults to CUSTOM

Period selector. Use CUSTOM together with startDate/endDate for an explicit range.

date-time

Custom period start (inclusive), used when periodType is CUSTOM.

subContractorIds
array of strings

Restrict aggregation to these subcontractor ids.

subContractorIds
userIds
array of strings

Restrict aggregation to these user logins.

userIds
Headers
boolean
Defaults to false
Response

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