--- title: "Avoids" slug: "guide-avoids" description: "Use the Avoids feature and API to define geographic areas that users should bypass during route planning. Manage coordinate boundaries, statuses, and expiration windows." tags: ["Avoid"] updated: 2026-08-18T17:45:42Z published: 2026-08-18T17:45:42Z canonical: "docs.eleostech.com/guide-avoids" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.eleostech.com/llms.txt > Use this file to discover all available pages before exploring further. # Avoids ## Overview The Avoids feature allows you to define geographic areas that users should not navigate through when they plan or follow routes in the mobile app. When configuring Avoids, you proactively guide users toward safer, preferred routes . For example, you can create a temporary Avoid with an expiration window to route users around a weekend construction project on a major highway interchange. Another example would be configuring an indefinite Avoid to prevent users from taking a road that prohibits commercial vehicles. > [!NOTE] > NOTE: If no `expiration` property is set, the Avoid remains active indefinitely. ## How It Works Create, manage, retrieve, and delete Avoids through the [Avoids API](https://dev.eleostech.com/platform/platform.html#operation/upsertAvoid) or within App Manager’s [Trip Planner Studio](https://dashboard.driveaxleapp.com/platform/planner). Avoids are defined at the environment level. This means all route requests from users within the same environment utilize the same set of Avoids. > [!NOTE] > NOTE: To ensure continuous guidance, the Platform will route through an Avoid area if it is the only available path or if the user is already inside it. > [!CAUTION] > WARNING: The Platform limits each environment to 300 Avoids in total, with a maximum of 150 that remain `active` or `test` at any given time. The API returns an error if you attempt to create additional Avoids beyond these limits. ## Key Components You must supply specific properties when you define an Avoid object. - `code`: A unique string identifier for the Avoid. - `name`: A descriptive title for the geographic restriction. - `type`: The type of Avoid shape. > [!NOTE] > NOTE: The system currently supports `rectangle` as the only valid type. - `coordinates`: The geographic boundaries of the Avoid area. - `status`: Determines how the system applies the Avoid. An `active` status applies to all routes, a `test` status applies only in Trip Planner Studio's Build a New Route for evaluation, and an `inactive` status stores the Avoid without applying it. ## Resources #### API - [Avoids](https://dev.eleostech.com/platform/platform.html#tag/Avoids) #### App Manager Help Center - [Avoids](/v1/docs/app-manager-avoids#overview)