Omnisearch
Global omnisearch across documents, fields, sources, and schemas. Unified search endpoint that powers the Cmd+K search experience.
The omnisearch endpoint provides a unified search across all entity types in your workspace: documents, field values, source connections, schemas, and registry fields. A single query returns categorized results, making it ideal for building global search UIs like Cmd+K palettes.
GET
/v1/searchResponse
Response fields
documentsarrayMatching documents (id, name, sourceId, sourceName).
fieldMatchesarrayFields whose values match the query (resolvedFieldId, displayName, matchedValue, documentCount).
sourcesarrayMatching source connections (id, name).
schemasarrayMatching schemas (id, name).
fieldsarrayMatching registry fields (id, canonicalName, displayName, documentCount).
Response
{
"documents": [
{ "id": "doc_x9y8z7w6", "name": "Invoice-2024-001.pdf", "sourceId": "src_m1n2o3p4", "sourceName": "Invoice Pipeline" }
],
"fieldMatches": [
{
"resolvedFieldId": "fld_a1b2c3d4",
"displayName": "Supplier Name",
"matchedValue": "Acme Corp",
"documentCount": 47
}
],
"sources": [
{ "id": "src_m1n2o3p4", "name": "Invoice Pipeline" }
],
"schemas": [
{ "id": "sch_k1l2m3n4", "name": "Invoice Schema" }
],
"fields": [
{ "id": "fld_a1b2c3d4", "canonicalName": "supplier_name", "displayName": "Supplier Name", "documentCount": 1842 }
]
}Errors
Error responses
401unauthorizedMissing or invalid API key.
429rate_limitedToo many requests. Retry after the period indicated in the Retry-After header.
Returns categorized results across documents, fieldMatches, sources, schemas, and fields in a single call, so a Cmd+K palette can render grouped sections without multiple requests. Use the limit parameter to cap results per category and keep response times fast for interactive search.