--- title: media.search | Doing Work API description: Find photos across the shop that carry all the given tags. Narrow by job, stage, or upload dates (shop time zone). Newest first, up to 200. url: https://doingwork.work/docs/reference/media-search/ --- # media.search Find photos across the shop that carry all the given tags. Narrow by job, stage, or upload dates (shop time zone). Newest first, up to 200. | | | |---|---| | Who | Agents can call this | | REST | `GET /v1/media/search` | | MCP tool | `media_search` | | Writes | no | | Area | [Shop](https://doingwork.work/docs/reference/#shop) | ## When to use it Find photos across the shop that carry all the given tags. Narrow by job, stage, or upload dates (shop time zone). ## What to tell the owner Tell them what you found in plain words. Don't read back raw fields. ## Input | Field | Type | Required | |---|---|---| | `shop_id` | string (uuid) | yes | | `tags` | array | no | | `job_id` | string (uuid) | no | | `stage` | string (one of before, during, after, other) | no | | `from` | string | no | | `to` | string | no | | `limit` | integer | no | ## Example ```http GET https://doingwork.work/v1/media/search?shop_id=00000000-0000-4000-8000-000000000000 ``` ## Output JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are `{code, message, status}`. ## Errors | Code | Status | What to do | |---|---|---| | `invalid_input`, `invalid_token`, `rate_limited` | | Can happen on any call. See [errors](https://doingwork.work/docs/errors/). |