Get a number of random samples to show in the AI Actions screen. If saveConfig is passed in, then a valid actionId is required in the URL. If you don’t need to save the config (e.g. when creating a new action), you can use -1.
If this is passed in, the previewConfig of the AI action is overwritten (requires actionId to be a valid action).
Type of data to preview. A random subset of this data will be returned.
allData, unlabeledData, enabledData, dataWithoutMetadataKey, dataWithMetadata Max. amount of data items to return.
Metadata key to filter on. Required if dataCategory is equal to "dataWithoutMetadataKey" or "dataWithMetadata".
Metadata value to filter on. Required if dataCategory is equal to "dataWithMetadata".