Shop Mentions Search
Search projects, quotes, equipment, and personnel by name for @-mention typeahead. Returns discrete id + display label per result so the client can insert a canonical reference.
JEEVY-667 scope-routing R0 (SPEC-667-scope-routing.md F3): projects and quotes are filtered through visible_ids with the SAME full-scope ctx the shop agent's own search tools use (core.agents.shop.tools.search._only_visible's pattern) -- this is a REST endpoint, not a governed tool call, so it never went through that filter before; a floor viewer or a non-US viewer saw every project/quote title and number in the shop, including export-controlled, deleted, or (for a floor viewer) unassigned ones. Equipment and personnel are NOT entities visible_ids models at all (no ENTITY_TABLES entry) -- they're shop-wide roster/asset data with no row-level visibility rule anywhere in this codebase (every other equipment/personnel list call site is unscoped the same way), so row- level filtering never applies to them, by design (no such rule exists).
JEEVY-2077: the SEPARATE, narrower gap R0 found on this same endpoint -- equipment/personnel were never checked against the viewer's MODULE permissions at all (require_equipment_view_permission/ require_personnel_view_permission's own check_permission gate, enforced on every OTHER equipment/personnel REST route, but this one has no FastAPI dependency to run it since it also serves projects/quotes a floor viewer with neither module can still see). A viewer whose role excludes a module now gets an empty list for that key, same as a search with no matches.
Request
- Base URLhttps://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Query parameters
Search query for project/quote name/number, equipment name, or personnel name.
Response
Successful Response
Changes
No recorded changes to this operation across all 56 revisions of this API.