Experiments execute a matrix of journeys, personas, and browser types. The system computes the cartesian product and spawns one agent per combination, letting you compare results across all dimensions in a single run.
Experiment Matrix
The experiment matrix is the cartesian product of three dimensions: journeys, personas, and browser types. For each combination, the system spawns one agent.
For example, 2 journeys × 3 personas × 2 browsers = 12 agents in a single run. Each agent gets its own isolated browser session and runs independently.
After a run completes, use the comparison endpoint to get aggregate results across all combinations.
Paste your API key to use the Try it panels below. Don't have one? Create an account.
POST/api/v1/experimentsCreate a new experiment
Parameter
Type
In
Required
Description
project_id
uuid
body
Yes
ID of the project
name
string
body
Yes
Experiment name
description
string
body
No
Experiment description
mode
string
body
No
Experiment mode
matrix
json
body
No
Matrix configuration defining the test combinations
config
json
body
No
Additional experiment configuration
event_schema_id
uuid
body
No
Event schema for analytics tracking
cURL
Response
GET/api/v1/experimentsList experiments
Parameter
Type
In
Required
Description
limit
integer
query
No
Number of results to return (default: 20)
cursor
uuid
query
No
Cursor for pagination
project
uuid
query
No
Filter by project ID
cURL
Response
GET/api/v1/experiments/{id}Get experiment by ID
Parameter
Type
In
Required
Description
id
uuid
path
Yes
Experiment ID
cURL
Response
PATCH/api/v1/experiments/{id}Update an experiment
Parameter
Type
In
Required
Description
id
uuid
path
Yes
Experiment ID
name
string
body
No
Experiment name
description
string
body
No
Experiment description
mode
string
body
No
Experiment mode
matrix
json
body
No
Matrix configuration
config
json
body
No
Additional configuration
event_schema_id
uuid
body
No
Event schema ID
cURL
Response
DELETE/api/v1/experiments/{id}Delete an experiment
Parameter
Type
In
Required
Description
id
uuid
path
Yes
Experiment ID
cURL
Response
POST/api/v1/experiments/{id}/runRun an experiment
Creates a new experiment run, spawning agents for each combination in the matrix.