/query

View as Markdown
Runs a **keyword search** against GIDEON content. The API returns `{ "data": ... }` where `data` is the search payload from the search service (shape may include hits, facets, and metadata depending on the query). #### **Request body (JSON)** | Field | Required | Description | | --- | --- | --- | | `query` | **Yes** | Search text. | | `offset` | No | Starting offset for paginated results. | | `limit` | No | Page size. | | `module_filter` | No | Narrow results by module (e.g. diseases). | | `record_type_filter` | No | Narrow by record type (e.g. graph, image). | #### **Errors** - **400** — Body is not valid JSON or `query` is missing/empty. - **503** — Search service is not configured on the server. - **502** — Search service could not be reached or returned an error. Non-success responses may use `{ "error": { "message", "status" } }`.

Authentication

Authorizationstring
API Key authentication via header

Request

This endpoint expects an object.
limitintegerRequired
querystringRequired
offsetintegerRequired
module_filterstringRequired
record_type_filterstringRequired

Response

OK
dataobject