System-Level Search
Search
System-Level Search
Search across all resource types
GET
System-Level Search
System-Level Search
Search across all resource types in the system.Endpoint
GET for simple searches with query parameters, or POST for complex searches with a search body.
GET Request
Search using query parameters:POST Request
Search using a search body for complex queries:Search Parameters
Common Parameters
_count- Maximum number of results (default: 10)_sort- Sort order (e.g.,-_lastUpdatedfor descending)_summary- Summary mode (true,text,data,count)_total- Include total count (none,estimate,accurate)_type- Filter by resource types (comma-separated)_lastUpdated- Filter by last updated date
Example
Response
Success (200 OK)
Returns aBundle containing search results:
Pagination
Use_offset and _count for pagination:
next and previous links when available.
Notes
- System-level search can be resource-intensive
- Use
_typeto limit the search to specific resource types - Results are sorted by relevance or the specified
_sortparameter - The
totalcount may be an estimate for performance reasons
Authorizations
Bearer token authentication
Query Parameters
Maximum number of results to return
Required range:
x >= 0Sort order (prefix with - for descending)
Summary mode
Available options:
true, text, data, count Include total count
Available options:
none, estimate, accurate Filter by resource types (comma-separated)
Filter by last updated date
Response
Search results
A container for a collection of resources
Resource type
Available options:
Bundle Indicates the purpose of this bundle
Available options:
document, message, transaction, transaction-response, batch, batch-response, history, searchset, collection If search, the total number of matches
Links related to this Bundle
Entry in the bundle