Skip to main content

SuggestionsResource

Bases: object List suggested questions and record suggestion events.

list()

List approved suggested questions for the caller organization.
  • Parameters:
    • page_size – Maximum number of suggestions to return.
    • page_token – Cursor from a previous page, if any.
    • scope_id – Optional single scope id filter.
    • scope_ids – Optional multi-scope id filter (comma-joined on the wire).

record_event()

Record that a suggested question was shown, clicked, dismissed, or submitted.

AsyncSuggestionsResource

Bases: object Async suggested-question APIs.

list()

List approved suggested questions for the caller organization.
  • Parameters:
    • page_size – Maximum number of suggestions to return.
    • page_token – Cursor from a previous page, if any.
    • scope_id – Optional single scope id filter.
    • scope_ids – Optional multi-scope id filter (comma-joined on the wire).

record_event()

Record that a suggested question was shown, clicked, dismissed, or submitted.