Search Index

Returns search hits that match the query defined in the request.

POST /search/v1/indexes/{index}/query

Path Parameters

index

string required

Name of the index to target.

Request body Parameters

You can find a detailed description of all the parameters that you can send in the request body in the Search Parameters page.

Examples

curl -X POST "https://api.clinia.ca/search/v1/indexes/meta/query" \
-H "Content-Type: application/json" \
-H "X-Clinia-Engine-Id: ${ENGINE_ID}" \
-H "X-Clinia-API-Key: ${API_KEY}" \
--data-binary '{ "query": "jean coutu" }'
{
"hits": [],
"meta": {},
"facets": {}
}