Suggest API

Response Objects

# SuggestSearchApiResponse

Top level response model for successful Suggest Search API requests. The API can also respond back with an error response based on invalid subscription keys and rate limit events.

FieldTypeRequiredDescription
type"suggest"true

The type of search api result. The value is always suggest.

queryQuerytrue

Suggest search query string. Only the original query is returned.

resultslist [ SuggestResult ]true

The list of suggestions for the given query.

# Query

A model representing information gathered around the requested query.

FieldTypeRequiredDescription
originalstringtrue

The original query that was requested.

# SuggestResult

Suggestions for a query.

FieldTypeRequiredDescription
querystringtrue

Suggested query completion.

is_entityboolfalse

Whether the suggested enriched query is an entity.

titlestringfalse

The suggested query enriched title.

descriptionstringfalse

The suggested query enriched description.

imgstringfalse

The suggested query enriched image URL.