getDatasets
Retrieves a collection of CRM Analytics datasets.
getDatasets
uses this CRM Analytics API resource.
createdAfter
—Filter the collection to include only datasets created after a specific timestamp.createdBefore
—Filter the collection to include only datasets created before a specific timestamp.datasetTypes
—Filters the collection to include only datasets of one or more of the specified types.Default
Live
StagedData
Trended
folderId
—Filters the collection to only contain datasets for the specified folder. The ID can be the requesting user's ID for datasets in the user's private folder.hasCurrentOnly
—Filters the collection of datasets to include only those datasets that have a current version. The default isfalse
.ids
—Filter the collection to include only datasets with the specified IDs.includeCurrentVersion
—Includes the current dataset version metadata in the collection. The default isfalse
.lastQueriedAfter
—Filter the collection to include only datasets last queried after a specific timestamp.lastQueriedBefore
—Filter the collection to include only datasets last queried before a specific timestamp.licenseType
—The response includes datasets with this license type. The default isEinsteinAnalytics
.Cdp
(Data Cloud)DataPipelinesQuery
(Data Pipelines Query)EinsteinAnalytics
(CRM Analytics)IntelligentApps
(Intelligent Apps)MulesoftDataPath
(Mulesoft Data Path)Sonic
(Salesforce Data Pipelines)
order
—Ordering to apply to the collection results.Ascending
Descending
page
—Generated token that indicates the view of datasets 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
Mru
(Most Recently Used)SharedWithMe
sort
—Sort order to apply to the collection results.ConnectionName
CreatedBy
CreatedDate
LastModified
LastQueried
LastRefreshed
Mru
(Most Recently Used, last viewed date)Name
TotalRows
supportsNewDates
—Indicates whether to include only datasets that support new dates in the collection (true
) or not (false
). The default isfalse
.typeOfDataflow
-Filter the collection to include only datasets with the specified type of dataflow.
data
—Dataset Collectionerror
—FetchResponse