---
title: "Suggestions"
method: GET
path: "/6/{hashid}/_suggest"
tags: ["Search"]
---

# Suggestions

`GET /6/{hashid}/_suggest`

Search through indexed suggestions of a search engine.

## Path parameters

- `hashid` string, required

## Query parameters

- `indices` string[]
- `query` string
- `session_id` string — Identifier of search session
- `user_id` string — Identifier of user
- `stats` boolean

## Response `200`

OK

- string[] — Response returned on suggestions search.

## Other responses

- `400` — Bad Request — query exceeds 200 characters or 10 words, or session_id/user_id too long.
- `403` — Forbidden — missing or invalid API token, client IP is blocked, or CORS `Origin` not allowed.
- `404` — Not Found — search engine mapping not found, or the requested index does not exist.
- `429` — Too Many Requests — suggestions are not enabled for this search engine.

---

[API](https://skmtc.dev/doofinder/apis/recommendations-api.md) · [All operations](https://skmtc.dev/doofinder/apis/recommendations-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/doofinder/recommendations-api/revisions/50dc63ab0921/schema)
