---
title: "Gets a list of all MS Learn courses matching the search query"
method: GET
path: "/skills/courses/mslearn"
tags: ["Skills"]
---

# Gets a list of all MS Learn courses matching the search query

`GET /skills/courses/mslearn`

**Requires permission:** *StaffMember*

## Query parameters

- `query` string, nullable

## Response `200`

Success - Got MS Learn courses

- GetMsLearnCoursesBySearchResponse
  - `courses` MSLearnCourse[], nullable
    - `summary` string, nullable
    - `levels` string[], nullable
    - `roles` string[], nullable
    - `products` string[], nullable
    - `uid` string, nullable
    - `type` string, nullable
    - `title` string, nullable
    - `duration_in_minutes` integer, nullable
    - `rating` Rating
      - `count` integer, nullable
      - `average` number, double, nullable
    - `popularity` number, double, nullable
    - `icon_url` string, nullable
    - `social_image_url` string, nullable
    - `locale` string, nullable
    - `last_modified` string, date-time, nullable
    - `url` string, nullable
    - `firstUnitUrl` string, nullable
    - `units` string[], nullable
    - `number_of_children` integer, nullable

## Other responses

- `400` — An Error Occurred - Could not retrieve MS Learn courses
- `401` — Unauthorized
- `403` — Forbidden

---

[API](https://skmtc.net/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.net/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/versions/fab57bf5558a/schema)
