> ## Documentation Index
> Fetch the complete documentation index at: https://docs.learnway.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# List Learning Paths

> Fetch published learning paths, access entitlements, and course sequences.

# List Learning Paths

Learning Paths group related courses into guided curricula (e.g., Web3 Development, AI Engineering, Financial Literacy).

***

## Get All Learning Paths

### Endpoint

```http theme={null}
GET /api/v2/learning-path
```

### Headers

```http theme={null}
Authorization: Bearer <jwt_access_token>
```

### Response (200 OK)

```json theme={null}
{
  "success": true,
  "data": [
    {
      "id": "1b2c3d4e-5f60-7a8b-9c0d-ef1234567890",
      "title": "Web3 & Blockchain Fundamentals",
      "description": "Comprehensive foundation in distributed ledger technology, Ethereum, and Lisk.",
      "category": "BLOCKCHAIN",
      "isPremium": false,
      "userHasAccess": true,
      "totalCourses": 4,
      "courses": [
        {
          "id": "7a3e9c12-3456-4abc-8def-1234567890ab",
          "title": "Intro to Cryptography & Blockchain",
          "order": 1
        },
        {
          "id": "8b4f0d23-4567-5bcd-9ef0-2345678901bc",
          "title": "Solidity Smart Contract Development",
          "order": 2
        }
      ]
    }
  ]
}
```

***

## Get Learning Path by ID

### Endpoint

```http theme={null}
GET /api/v2/learning-path/:id
```

### Headers

```http theme={null}
Authorization: Bearer <jwt_access_token>
```

### Response (200 OK)

```json theme={null}
{
  "success": true,
  "data": {
    "id": "1b2c3d4e-5f60-7a8b-9c0d-ef1234567890",
    "title": "Web3 & Blockchain Fundamentals",
    "description": "Comprehensive foundation in distributed ledger technology.",
    "isPremium": false,
    "userHasAccess": true,
    "courses": [ ... ]
  }
}
```
