cURL
curl --request POST \ --url https://actions.zapier.com/api/v2/ai-actions/{ai_action_id}/preview/ \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "instructions": "<string>", "params": {} }'
{ "execution_log_id": "<string>", "action_used": "<string>", "input_params": {}, "resolved_params": {}, "results": [ {} ], "full_results": [ {} ], "result_field_labels": {}, "status": "success", "error": "<string>" }
The ID of the action to execute.
Specifies information about how to run an AI Action
OK
The response is of type object.
object
Was this page helpful?