Skip to main content

Search

Execute text search queries with highlights and facets.

Endpoint

Request Body

string
required
Tenant identifier for multi-tenant isolation
string
Optional user identifier for user-level scoping
string
required
Search query string
object
Field filters to narrow results
array
Fields to aggregate for facets (e.g., ["source", "content_type"])
integer
default:"20"
Maximum results to return (1-100)
integer
default:"0"
Pagination offset

Example Request

Response

array
Array of search hits
array
Aggregation results
Entities mentioned in top hits
integer
Total matching documents
integer
Query execution time in milliseconds

Example Response

Filtering

Use the filters object to narrow results:
Array values match any:

Pagination

Use limit and offset for pagination: