---
title: "Full learning-path payload (drawer-open lazy fetch)"
method: GET
path: "/api/learning/paths/{path_id}"
tags: ["Education"]
---

# Full learning-path payload (drawer-open lazy fetch)

`GET /api/learning/paths/{path_id}`

## Request

- Base URL: `https://www.oxfordledge.com` (the document declares no server; this is the origin it was published from)
- URL: `https://www.oxfordledge.com/api/learning/paths/{path_id}`
- Auth: none declared

Lazy drill-down for a single path. Returns the same shape an
individual element of /api/learning/paths.paths has — including
full `sections`, `quiz` (answers stripped), `applyTask`,
`glossaryTerms`. Slug-validated to block path-traversal probes.

## Path parameters

- `path_id` string, required: Path id from the index endpoint

## Response `200`

Successful Response

- LearningPathDetailResponse: `GET /api/learning/paths/{path_id}` response. Full path payload (with quiz `correct`/`explanation` stripped per the existing S21-C Phase 3 contract). `modules` is REQUIRED because a path with zero modules is not a renderable surface — 404 should fire upstream rather than returning an empty-shell. Other fields stay Optional so the union accommodates future path-level adds (tracks, cohort_paths, etc.).
  - `id` string, required
  - `title` string, required
  - `modules` LearningModule[], required
    - `id` string, nullable
    - `title` string, nullable
    - `duration_min` integer, nullable
    - `difficulty` string, nullable
  - `description` string, nullable
  - `level` string, nullable
  - `prerequisites` string[], nullable
  - `masteryThreshold` number, nullable: ADVISORY path/module metadata only (#193/LR-16, 2026-07-27): set by 4 of ~435 modules and read by NOTHING - the real mastery gate is the concept-level EMA in learn/mastery/layer.py (see /methodology/mastery-threshold). Kept on the wire for shape stability; never treat it as a gating threshold.

## Other responses

- `404`: Not Found
- `422`: Validation Error
- `500`: Internal Server Error

---

[API](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api.md) · [All operations](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api/llms.txt) · [OpenAPI document](https://skmtc.dev/oxfordledge/apis/oxford-ledge-api/revisions/e832a1260f0b?raw)
