- [JSON representation](https://developers.google.com/maps/ai/maps-experience-agent-tools/reference/rest/Shared.Types/DetourSummary.md.txt#SCHEMA_REPRESENTATION)

The additional duration and distance required to detour to a place from the main route.

| JSON representation |
|---|
| ``` { "detourDuration": string, "localizedDetourDistance": string } ``` |

| Fields ||
|---|---|
| `detourDuration` | ``string (`Duration` format)`` The additional travel time required to detour to this place from the main route. This value is not set if the route is specified by `encodedPolyline`. A duration in seconds with up to nine fractional digits, ending with '`s`'. Example: `"3.5s"`. |
| `localizedDetourDistance` | `string` The additional distance required to detour to this place from the main route, formatted for display in the request language (e.g. "1.2 mi" or "1,9 km"). |