experiments
Update Experiment
Update an experiment. Only an experiment in 'draft' status can be updated.
put/api/v1/experiments/{experiment_id}
Path parameters
experiment_idinteger required
Request body
Example request
{
"name": "Shorter greeting",
"variants": [
{
"name": "b",
"weight": 50,
"agent_id": 1
}
]
}Response
Successful Response
Example response
{
"id": 1,
"name": "Shorter greeting",
"target_id": 1,
"variants": [
{
"id": 1,
"name": "b",
"weight": 50,
"agent_id": 1,
"agent_name": "Front desk"
}
],
"target": {
"id": 1,
"target": "+19995551234",
"channel_id": 1,
"channel_name": "Main line"
}
}Changes
Changed in 2 of the 144 revisions of this API.2
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
endpoint added
endpoint-added
- ○
Of the 144 revisions, 1 has no diff computed.