---
title: "Get a media's sources by its id"
method: GET
path: "/media/{media_id}/sources"
tags: ["Media"]
---

# Get a media's sources by its id

`GET /media/{media_id}/sources`

## Path parameters

- `media_id` integer, required

## Response `200`

The media sources that were requested.

- object
  - `sources` MediaSource[]
    - `mime_type` string
    - `url` string
    - `target` string
    - `definition` string
    - `transcoding_guid` string
    - `status` string

## 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.

---

[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)
