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 |
When to use it
Search across customers, jobs, quotes, invoices and requests in one call, or look in one place when you know where it is.
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
GET https://doingwork.work/v1/media/search?shop_id=00000000-0000-4000-8000-000000000000Output
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. |