getStories

Retrieves a collection of Einstein Discovery stories.

getStories uses this Einstein Discovery API resource.

  • folderId— (Optional) 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— (Optional) Filters the collection to only contain stories for the specified story input ID.
  • page— (Optional) Generated token that indicates the view of stories to be returned.
  • pageSize— (Optional) Number of items to be returned in a single page. Minimum is 1, maximum is 200, and the default is 25.
  • q— (Optional) 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— (Optional) Scope type to apply to the collection results.
    • CreatedByMe
    • SharedWithMe
  • sourceType— (Optional) Single source type to apply to the collection results.
    • AnalyticsDataset
    • LiveDataset
    • Report
  • sourceTypes— (Optional) List of source type to apply to the collection results.
    • AnalyticsDataset
    • LiveDataset
    • Report

See Also