Skip to main content
Returns a list of relevant Items for a user search query. Personalization can be achieved by providing a user_id or session_id. This also allows for model relevance improvements through event feedback.

Endpoint

Request Body

Example Request

Response Body

Returns a JSON object containing the search results.

Hit Object (within items array if scores are requested, otherwise just item IDs)

Each object in the items array is an ItemScore object. The provided example shows a simple list of ItemScores.

Responses

  • 200 OK: Successful Response (ItemResponse)
  • 422 Validation Error: (HTTPValidationError)
  • 401 Unauthorized: Invalid or missing API key.
  • 429 Too Many Requests: Rate limit exceeded.
  • 5xx Server Error: An internal error occurred.