getStories

Retrieves a collection of Einstein Discovery stories.

getStories uses this Einstein Discovery API resource.

  • folderId—Filters the collection to only contain stories for the specified CRM Analytics folder. The ID can be the requesting user's ID for stories in the user's private folder.
  • inputId—Filters the collection to only contain stories for the specified story input ID.
  • page—Generated token that indicates the view of stories to be returned.
  • pageSize—Number of items to be returned in a single page. Minimum is 1, maximum is 200, and the default is 25.
  • q—Search terms. Individual terms are separated by spaces. A wildcard is automatically appended to the last token in the query string. If the user’s search query contains quotation marks or wildcards, those symbols are automatically removed from the query string in the URL along with any other special characters.
  • scope—Scope type to apply to the collection results.
    • CreatedByMe
    • SharedWithMe
  • sourceType—Single source type to apply to the collection results.
    • AnalyticsDataset
    • LiveDataset
    • Report
  • sourceTypes—List of source type to apply to the collection results.
    • AnalyticsDataset
    • LiveDataset
    • Report

See Also