Search documents in a building
Search documents within a specific building with filtering, sorting, and aggregations
Request
- Base URL: http://localhost:9000
- URL: http://localhost:9000/building_owners/{buildingOwnerId}/buildings/{buildingId}/search
- Auth: API key in header x-api-key
Path parameters
ID of the building owner
ID of the building
Query parameters
Search query
Maximum results per page, 1-1000. Larger pages cost little more than small ones and are much faster than paging: prefer a single large request over many sequential ones. Use start_index to page beyond it.
Starting index for pagination. Offset paging reaches at most 10000 results; past that an empty page is returned alongside the true numberOfHits.
Filter by discipline (e.g., "Electrical", "HVAC")
Filter by document type
Filter by floor level
Field to sort by. "filename" orders on the stored filename, so the order matches what you see. Sorting is case- and accent-sensitive: uppercase precedes lowercase, and Norwegian æ/ø/å sort after z.
Sort order (only applies when sort_by is not "relevance")
Include aggregated facet counts in response
Fuzzy-matching mode. "on" always fuzzy-matches (best for prose). "off" matches exactly (best for equipment, system and drawing codes). "auto" (default) keeps fuzzy matching for prose but turns it off when the query looks like an identifier - any token containing a digit, or an all-short query such as "VVS".
Response
Default Response
Changes
No recorded changes to this operation across all 1 revision of this API.