Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 7.92 KB

File metadata and controls

15 lines (12 loc) · 7.92 KB

RecommendationsRequest

Fields

Field Type Required Description Example
timestamp OffsetDateTime ➖ The ISO 8601 timestamp associated with the client request.
trackingToken Optional<String> ➖ A previously received trackingToken for a search associated with the same query. Useful for more requests and requests for other tabs.
sessionInfo Optional<SessionInfo> ➖ N/A
sourceDocument Optional<Document> ➖ N/A
pageSize Optional<Long> ➖ Hint to the server about how many results to send back. Server may return less or more. Structured results and clustered results don't count towards pageSize. 100
maxSnippetSize Optional<Long> ➖ Hint to the server about how many characters long a snippet may be. Server may return less or more. 400
recommendationDocumentSpec Optional<DocumentSpecUnion> ➖ N/A
requestOptions Optional<RecommendationsRequestOptions> ➖ N/A