← All projects

PRODUCTION DIAGNOSTICS

API Route Collision Analyzer

A Python CLI that turns recurring route conflicts into a repeatable diagnostic workflow, analysing domain and listen-path combinations.
PythonREST APIsAPI GatewayCI/CD
View repository ↗
  1. 01Dashboard API
  2. 02Domain + path
  3. 03Strict / broad analysis
  4. 04Table · JSON · CSV
  5. 05CI exit code

From investigation to diagnostic workflow

Duplicate or conflicting routes are a recurring API troubleshooting scenario. Domain and listen-path combinations provide the basis for detecting potential conflicts across APIs.

What the tool does

  • Retrieves API configuration using the Tyk Dashboard REST API.
  • Analyses domain and listen-path combinations.
  • Supports strict and broad match modes and internal API handling.
  • Produces table, JSON and CSV output.
  • Exposes CI-friendly exit codes for automated checks.

Illustrative route conflict

The following is synthetic data that explains the concept. It is not captured customer output or a claim about the exact CLI display.

Domain                Listen path    API name
api.example.test      /orders/       Orders service
api.example.test      /orders/       Orders legacy

Potential conflict: same domain and listen path

Operational value

A repeatable CLI makes the investigation usable beyond a single support session. Human-readable tables suit diagnosis; structured output suits reporting and CI pipelines. Consult the repository for actual command flags and mode behaviour.

Explore a route conflict

Synthetic example to explain the concept. This is not live output from the CLI. Strict shows duplicate paths; broad also illustrates a potentially overlapping child path.

DOMAIN              LISTEN PATH          API
api.example.test    /orders/             Orders service
api.example.test    /orders/             Orders legacy