Preview samples for AI Actions
Last updated
Last updated
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.
Project ID
AI Action ID
If this is passed in, the previewConfig
of the AI action is overwritten (requires actionId to be a valid action).
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".
Max. amount of data items to return.
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)