Generate suggestions

API

API Reference: Generate suggestions.

To generate suggestions for SUGGESTION type index, issue a POST request with indexId:

POST /v1/indices/{indexId}/suggestions/generate

Response will include a success status and a batch key that can be used to search for related index tasks to track suggestion generation process:

{
  "success": true,
  "batchKey": "reindex-1627373737-abc"
}