Skip to main content
POST
Queues a run and returns the created run with status: "running" and result: null. Poll Get a run until status becomes completed or failed.
Use simulate unless live side effects are intentional. execute can call your configured external APIs once for every replayed conversation in the set.

Headers

string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs write scope.
string
required
application/json

Path parameters

string
required
Test set ID.

Body parameters

enum
How Rulebook logic runs during the replay. Supported values: reuse, simulate, and execute. Defaults to simulate.
string
Optional Behavior version ID to use for the run. Only valid when ruleExecutionMode is simulate or execute.

Response

Returns the created Run object.