---
title: "Get a list of courses which contains the media"
method: GET
path: "/media/{media_id}/courses"
tags: ["Media"]
---

# Get a list of courses which contains the media

`GET /media/{media_id}/courses`

## Path parameters

- `media_id` integer, required

## Response `200`

The list of courses that were requested.

- object
  - `courses` object[]
    - `id` integer
    - `name` string
    - `embedded_at` string, date-time

## Other responses

- `401` — Authorization information is missing or invalid.
- `403` — If a user without proper permissions tries to call this endpoint, the call is rejected with 403 Forbidden.
- `404` — The media was not found by ID.
- `422` — Invalid media_id is provided.

---

[API](https://skmtc.net/instructure/apis/studio-public-api.md) · [All operations](https://skmtc.net/instructure/apis/studio-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/instructure/studio-public-api/revisions/4838a5113869/schema)
