# GET /courses/library

**Resource:** [COURSES](./courses.md)  
**MCP tool:** `get_contact_course_library`  
**Scopes:** `courses:read`  
**Write operation:** no

List the training courses one contact owns (active access only; pass include_ended=true to include ended access). Needs contact_id.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `contact_id` | query | string | yes | crm_contacts UUID of the learner. |
| `include_ended` | query | boolean | no | true also returns access that has ended (refund, dispute, staff). |
| `limit` | query | number | no |  |
| `after` | query | string | no |  |

## Request example

```bash
curl   "https://api.trustpager.com/functions/v1/api/v1/courses/library"   -H "Authorization: Bearer YOUR_API_KEY"
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`