Get suggestions Deprecated Beta

POST /api/endpoint/suggestions/{suggestion_type}

Path parameters

application/json; Elastic-Api-Version=2023-10-31

Responses

  • 200 application/json; Elastic-Api-Version=2023-10-31

    OK

    Additional properties are allowed.

POST /api/endpoint/suggestions/{suggestion_type}
curl \
 -X POST https://localhost:5601/api/endpoint/suggestions/{suggestion_type} \
 -H "Content-Type: application/json; Elastic-Api-Version=2023-10-31"
Request examples
{
  "field": "string",
  "query": "string"
}
Response examples (200)
{}