API: Search
API: Search
API: Search
tieback
Global Search provides instant, workspace-scoped lookup across all core object types. Search is
available via the Spotlight command bar (⌘K / Ctrl+K) and programmatically via the
search_brand_objects_v2 RPC.
Search is read-only and respects workspace-level access controls automatically.
Product queries match across multiple fields simultaneously:
GL4 matches GL4-123)china, steel grey)Results display the product name as the primary label and SKU as the secondary label.
Passport queries match against the denormalized search/read model on passport_lifecycle_states:
mint_batch_id.Passport search is enabled for uuid, gtin, and alnum query routes. Pure alphabetic (alpha) queries do not trigger passport search to avoid unbounded free-text scans.
Results display the product name as the primary label and SKU as the secondary label. Status is shown as Draft, Published, or Revoked.
Passport results navigate to the passport detail page (/passports/{mint_batch_id}).
Structured identifiers are routed to the appropriate object type:
13250d12 finds tokens whose serial starts with that value.When you paste a GS1 Digital Link URL, the system extracts the relevant identifiers automatically:
/21/<serial>), the serial is extracted and used to find the matching token./01/<GTIN>), the GTIN is extracted and used to find the matching product and passport.Example:
The resolver URL itself is not stored or searched as a string — only the extracted identifiers are used.
The system automatically classifies your query and routes it to the appropriate search branches:
Results are grouped by type in a fixed display order: Products → Passports → Tokens → Batches → Exports.