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

# Get a media by its id

`GET /media/{media_id}`

## Path parameters

- `media_id` integer, required

## Response `200`

The media object that was requested.

- object
  - `media` MediaWithCollection
    - `id` integer
    - `title` string
    - `description` string
    - `duration` number
    - `created_at` string, date-time
    - `last_viewed` string, date
    - `last_viewed_by_student` string, date
    - `thumbnail_url` string
    - `transcoding_status` string
    - `owner` User
      - `id` integer
      - `full_name` string
      - `display_name` string
      - `email` string
    - `size` integer
    - `source` string
    - `embed_id` string
    - `lti_launch_id` string
    - `archived_at` string, date-time
    - `collection` Collection
      - `id` integer
      - `name` string
      - `type` string
      - `permission` string
      - `owner` User
        - `id` integer
        - `full_name` string
        - `display_name` string
        - `email` string
      - `created_at` string, date-time
      - `course_id` integer
      - `archived_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 ID was not found.

---

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