---
title: "Routes"
method: GET
path: "/line/{line_code}/routes"
---

# Routes

`GET /line/{line_code}/routes`

## Path parameters

- `line_code` string, required

## Response `200`

Successful Response

- Route[]
  - `line_code` string, required
  - `line_id` integer, required
  - `line_description` string, nullable, required
  - `line_name` string, required
  - `route_code` string, required
  - `route_id` integer, required
  - `route_description` string, nullable, required
  - `route_name` string, required
  - `route_direction` 'outbound' | 'inbound', required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/styrowolf/apis/fastapi.md) · [All operations](https://skmtc.dev/styrowolf/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/styrowolf/fastapi/revisions/1f272d11e862/schema)
