cURL
curl --request POST \ --url https://actions.zapier.com/api/v2/ai-actions/{ai_action_id}/execute/ \ --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>" }
Given an action ID and instructions, this will execute the action and return the results.
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?