---
title: "Search media by the given query parameters. If multiple options are provided, we will use a logical AND operation when searching!"
method: GET
path: "/media/search"
tags: ["Media"]
---

# Search media by the given query parameters. If multiple options are provided, we will use a logical AND operation when searching!

`GET /media/search`

## Query parameters

- `title` string
- `min_size` integer
- `max_size` integer
- `start_date` string, date
- `end_date` string, date
- `last_viewed_start_date` string, date
- `last_viewed_end_date` string, date
- `last_viewed_by_student_start_date` string, date
- `last_viewed_by_student_end_date` string, date
- `owner` string, email
- `tag` string
- `source` 'upload' | 'youtube' | 'vimeo' | 'zoom'
- `page` integer
- `per_page` integer

## Response `200`

The list of media objects that matched the given query.

- object
  - `media` Media[]
    - `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
  - `meta` object
    - `current_page` integer
    - `last_page` integer
    - `total_count` integer

## Other responses

- `401` — Authorization information is missing or invalid.
- `422` — Invalid parameters.

---

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