id
.Authorizations
Api Key based authentication (apikey)
Body
Upload pre-computed distance/duration matrix
The coordinates for this matrix, as [{lon},{lat}] values, in decimal degrees.
2
Pre-computed duration matrix. Rows are sources, columns are destinations.
An array of index elements (0 <= integer < #coordinates) to use location with given index as source. Default is to use all.
An array of index elements (0 <= integer < #coordinates) to use location with given index as destination. Default is to use all.
Pre-computed distance matrix. Optional - only needed if distance data is available.
Return the requested table or tables in response. Can be ['duration'] (return the duration matrix, default) or ['duration', distance'] (return both the duration matrix and the distance matrix).
The vehicle type for which the table is requested
CAR
, BIKE
, TRUCK
, ELECTRIC_CAR
, ELECTRIC_BIKE
Routing data engine being used: OpenStreetMap (OSM) or TomTom.
OSM
, TOMTOM
, GOOGLE
, ANYMAP
, CUSTOM
The departure time (ISO8601) for which this matrix was computed.
"2022-03-10T12:15:50.000Z"
Enable linear interpolation between time slices for more accurate results based on departure time
Exclude certain road types from routing
Source waypoints snapped to map. Optional if waypoint data is available.
Destination waypoints snapped to map. Optional if waypoint data is available.
Response
Table uploaded successfully
Table id.
Table status (IN_PROGRESS, SUCCEEDED, FAILED).
IN_PROGRESS
, AGGREGATING
, SUCCEEDED
, FAILED
Error message if the Cube failed.
Hash of the Cube request
Number of sources in the table
Number of destinations in the table
Table response id.
Last update time of the table.
Creation time of the table.