Search API
Original-source curated search index
REST API endpoints for Search. 5 operations.
Run a search
plaintext
GET /v1/searchRuns a query against the curated Scalix Search index and returns ranked results.
Auth: Bearer API key
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
q | query | string | No | Search query |
Responses
| Status | Description |
|---|---|
200 | Search results |
401 | Missing or invalid API key |
500 | Internal error |
operationId: searchIndex
Run a search ingest
plaintext
POST /v1/search/ingest/runTriggers an ingest run that crawls and indexes registered sources.
Auth: Bearer API key
Responses
| Status | Description |
|---|---|
200 | Ingest run triggered |
401 | Missing or invalid API key |
500 | Internal error |
operationId: runSearchIngest
List search sources
plaintext
GET /v1/search/sourcesReturns the curated sources registered in the search index.
Auth: Bearer API key
Responses
| Status | Description |
|---|---|
200 | Curated source list |
401 | Missing or invalid API key |
500 | Internal error |
operationId: listSearchSources
Upsert a search source
plaintext
POST /v1/search/sourcesCreates or updates a curated source in the search index.
Auth: Bearer API key
Request body
application/json (required) — schema object.
Responses
| Status | Description |
|---|---|
200 | Source upserted |
401 | Missing or invalid API key |
500 | Internal error |
operationId: upsertSearchSource
Get search stats
plaintext
GET /v1/search/statsReturns statistics about the search index.
Auth: Bearer API key
Responses
| Status | Description |
|---|---|
200 | Index stats |
401 | Missing or invalid API key |
500 | Internal error |
operationId: getSearchStats