---
title: "Request a specific KongAir route by id"
url: "https://devportal.jilson.dev/apis/kong-air-ap-is-1-0-0/versions/7a8b8282-7fdc-432a-a618-88582e8fb712/operations/get-route"
---

> Full API specification: https://devportal.jilson.dev/apis/kong-air-ap-is-1-0-0/versions/7a8b8282-7fdc-432a-a618-88582e8fb712.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.1.0
info:
  title: KongAir APIs
  version: 1.0.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
      tags:
        - Routes
      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
security:
  - ApiKeyAuth: []
  - BearerAuth: []
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
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
```
