---
title: "Request a specific KongAir route by id"
url: "https://portal.kongair.dev/apis/routes-api/versions/c8d1f163-0e67-4266-a23d-b8d1f86ffded/operations/get-route"
---

> Full API specification: https://portal.kongair.dev/apis/routes-api/versions/c8d1f163-0e67-4266-a23d-b8d1f86ffded.md

# Request a specific KongAir route by id

`GET` `/routes/{id}`

Operation ID: `get-route`

Returns a specific route from a given Route ID

## Path parameters

- `id` (string, required) - String route ID

## Responses

- `200` - Successful response with the found Route
- `404` - Route not found

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Routes API
  version: 0.3.0
servers:
  - url: https://api.kongair.dev
    description: KongAir API Dev
paths:
  /routes/{id}:
    get:
      summary: Request a specific KongAir route by id
      description: Returns a specific route from a given Route ID
      operationId: get-route
      parameters:
        - name: id
          in: path
          description: String route ID
          required: true
          schema:
            type: string
      responses:
        "200":
          description: Successful response with the found Route
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Route"
        "404":
          description: Route not found
components:
  schemas:
    Route:
      type: object
      properties:
        id:
          type: string
        origin:
          type: string
        destination:
          type: string
        avg_duration:
          type: integer
      required:
        - id
        - origin
        - destination
        - avg_duration
```
