Get Content Suggestions

GET {{baseUrl}}/api/-/suggestions?terms=<string>&limit=<integer>&recentsLuids=<string>&filter=<string>

Returns a specified number of suggestions for auto-completion of user input as they type. You can specify content types of suggestions and prioritize recently viewed content.

Version: Available in API 3.19 ( Tableau Cloud March 2023 / Server 2023.1) and later. Versioning Overview

Permissions: Suggestions will be limited to those objects that the user has permissions to access. Permissions Overview

License: No additional license required.

Access Scope: Not available.
Access Scopes Overview: Cloud | Server-Windows | Server-Linux

Request Params

KeyDatatypeRequiredDescription
termsstring(Required) The term that is matched to find suggestions.
limitstringThe number of suggestions to return. The default is 10.
recentsLuidsstringA comma separated list of luids that will be prioritized in scoring of content items matched to suggest.
filterstringA filter to restrict suggestions to specified content types. The supported operators are: in and eq. For instance, the parameter: filter:in:workbooks,datasources would limit suggestions returned to only those for workbooks and data sources.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;terms&quot;:&quot;\u003cstring\u003e&quot;,&quot;filter&quot;:&quot;\u003cstring\u003e&quot;,&quot;sort&quot;:&quot;\u003cstring\u003e&quot;,&quot;hits&quot;:{&quot;next&quot;:&quot;\u003cstring\u003e&quot;,&quot;prev&quot;:&quot;\u003cstring\u003e&quot;,&quot;pageIndex&quot;:&quot;\u003clong\u003e&quot;,&quot;startIndex&quot;:&quot;\u003clong\u003e&quot;,&quot;total&quot;:&quot;\u003clong\u003e&quot;,&quot;limit&quot;:&quot;\u003cinteger\u003e&quot;,&quot;items&quot;:[{&quot;uri&quot;:&quot;\u003cstring\u003e&quot;,&quot;content&quot;:{&quot;quis0&quot;:{},&quot;adipisicing99&quot;:{}}},{&quot;uri&quot;:&quot;\u003cstring\u003e&quot;,&quot;content&quot;:{&quot;aliquip_da&quot;:{},&quot;do_2_&quot;:{}}}]}}