---
title: "Search Media"
method: GET
path: "/api/admin/media/search"
tags: ["admin-media"]
---

# Search Media

`GET /api/admin/media/search`

## Request

- Base URL: `https://store.hypergpt.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://store.hypergpt.ai/api/admin/media/search`
- Auth: HTTP bearer

Unified Unsplash + Pexels search. Always returns 200 with any per-source
errors surfaced in the `errors` field so the UI can degrade gracefully.

## Query parameters

- `q` string, required
- `source` 'both' | 'unsplash' | 'pexels'
- `type` 'both' | 'photo' | 'video'
- `page` integer
- `per_page` integer

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/hypergpt/apis/hyperstore-api.md) · [All operations](https://skmtc.dev/hypergpt/apis/hyperstore-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hypergpt/apis/hyperstore-api/revisions/50dc6759e3b9?raw)
