Nash · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Nash Route Restrictions API

7 actions 7 updates phrasing extends openapi/nash-route-restrictions-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Nash's API. It is a proposal applied on top of the contract, not a document Nash publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/v1/optimization-strategies/{id}/route-restrictions'].put
$.paths['/v1/route-restrictions'].get
$.paths['/v1/route-restrictions'].post
$.paths['/v1/route-restrictions/{id}'].get
$.paths['/v1/route-restrictions/{id}'].delete
$.paths['/v1/route-restrictions/{id}'].patch

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Nash Route Restrictions API
  version: 1.0.0
extends: openapi/nash-route-restrictions-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-21'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/v1/optimization-strategies/{id}/route-restrictions'].put
  update:
    x-apievangelist-phrasing:
      intent: Set route restrictions on an optimization strategy
      effect: write
      questions:
      - How do I make the route optimizer avoid certain areas for a strategy?
      - Can I clear all route restrictions from an optimization strategy?
      instructions:
      - text: Set route restrictions {route_restriction_ids} on optimization strategy {id}.
        slots:
          route_restriction_ids: requestBody.route_restriction_ids
          id: path.id
      - text: Replace the route restrictions on strategy {id} with {route_restriction_ids}.
        slots:
          id: path.id
          route_restriction_ids: requestBody.route_restriction_ids
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v1/route-restrictions'].get
  update:
    x-apievangelist-phrasing:
      intent: List route restrictions in the organization
      effect: read
      questions:
      - Which route restrictions are available in my organization?
      - Can I see all the avoid polygons we've defined?
      instructions:
      - text: List all route restrictions in my organization.
      - text: Show every avoid polygon we've saved.
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v1/route-restrictions'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a route restriction with avoid polygons
      effect: write
      questions:
      - How do I tell the optimizer to avoid a whole area?
      - Can I add a new avoid polygon to the library?
      instructions:
      - text: Create route restriction {name} with polygons {polygons}.
        slots:
          name: requestBody.name
          polygons: requestBody.polygons
      - text: Add a new avoid area {name} described as {description} using {polygons}.
        slots:
          name: requestBody.name
          description: requestBody.description
          polygons: requestBody.polygons
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v1/route-restrictions/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a route restriction
      effect: read
      questions:
      - What polygons make up a specific route restriction?
      - Can I look up one avoid area by its id?
      instructions:
      - text: Get route restriction {id}.
        slots:
          id: path.id
      - text: Show the avoid polygons of restriction {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v1/route-restrictions/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a route restriction
      effect: destructive
      questions:
      - How do I remove an avoid area we no longer need?
      - Does deleting a route restriction also remove its coverage area?
      instructions:
      - text: Delete route restriction {id}.
        slots:
          id: path.id
      - text: Remove avoid area {id} from the library.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v1/route-restrictions/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a route restriction
      effect: write
      questions:
      - Can I change the polygons of an existing route restriction?
      - Is it possible to rename an avoid area without recreating it?
      instructions:
      - text: Rename route restriction {id} to {name}.
        slots:
          id: path.id
          name: requestBody.name
      - text: Replace the polygons of restriction {id} with {polygons}.
        slots:
          id: path.id
          polygons: requestBody.polygons
      method: generated
      generated: '2026-11-21'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/nash-route-restrictions-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.