v1
latestOpenAPI 3.1.02026-07-17141136.0 KBexperiments
Fork experiment
Create a copy of an experiment with all its stages and agents.
Access Control: You can only fork an experiment if:
- The experiment's visibility is set to PUBLIC, OR
- You are the owner/creator of the experiment
The forked experiment will have:
- A new unique ID
- Name set to "Copy of [original name]" (or custom name if provided)
- The current user as creator
- All stages copied
- All agent mediators and agent participants copied
The forked experiment will NOT include:
- Cohorts
- Participants
- Any collected data
post/experiments/{id}/fork
Path parameters
idstring required
Experiment ID
Request body
Example request
{
"name": "My Forked Experiment"
}Response
Experiment forked successfully
Example response
{
"experiment": {
"id": "exp123",
"versionId": 18,
"metadata": {
"name": "Decision Making Study",
"publicName": "Decision Study",
"description": "Research on group decision making",
"tags": [
"research",
"decision-making"
],
"creator": "experimenter123"
},
"permissions": {
"visibility": "private",
"readers": [
"experimenter123"
]
},
"stageIds": [
"stage1",
"stage2"
]
},
"sourceExperimentId": "exp123"
}