Agent Docs

Get spelling corrections, query expansion and task suggestions.

Get spelling corrections, query expansion and task suggestions. This handler uses the production Postgres backend. The local JSON fixture backend may not serve this route.

Inputs. Path, query and header fields are listed below. No request body is required.

Outputs. See each status below for its media type, schema and headers. A missing record or unavailable capability is not a successful empty result.

Errors. API JSON failures use the documented response schema. Read code, message and next; retry only when the response allows it. Auth, invalid input and missing records need a caller change.

Rate limits. Public read budgets apply by client IP and route group. This operation can have a smaller route-specific budget. Read Retry-After on 429 or retryable 503 responses.

get/api/suggest

Request

  • Base URL: https://huggingbay.xyz
  • URL: https://huggingbay.xyz/api/suggest
  • Auth: none required

Query parameters

qstring

Query text, truncated to 120 characters. Empty input returns no suggestions.

Response

Get spelling corrections, query expansion and task suggestions.

schemaVersionstring
querystring required
correctedQuerystring nullable
expandedTokensstring[]
intentobject nullable required

Changes

No recorded changes to this operation across all 2 revisions of this API.