Execute prompt simulation
Executes a prompt simulation run.
https://api.futureagi.com/simulate/prompt-templates/{prompt_template_id}/simulations/{run_test_id}/execute/ Authentication
Path parameters
UUID of the prompt template that owns this simulation run.
UUID of the simulation run to execute.
Request body
Whether to select all scenarios. Defaults to false. When true with empty scenarioIds, all scenarios run; when true with non-empty scenarioIds, listed scenarios are excluded.
Scenario UUIDs to include (when selectAll is false) or exclude (when selectAll is true).
Response
200 OK"success" if the request succeeded.
Execution details for the triggered simulation run.
Human-readable confirmation message.
UUID of the newly created test execution.
UUID of the simulation run that was executed.
Initial execution status, typically "pending".
Number of scenarios selected for execution.
Total number of individual calls across all selected scenarios.
Scenario UUIDs selected for execution.
Errors
The execution could not start due to a missing or deleted prompt version, missing scenario data, or invalid evaluation configuration.
Invalid or missing authentication credentials.
The specified prompt template or simulation run does not exist.
An unexpected server error occurred.