Skip to main content
PUT
Typescript (SDK)

Authorizations

Syllable-API-Key
string
header
required

Path Parameters

experiment_id
integer
required

Body

application/json

Request model to update an experiment.

name
string
required

The name of the experiment

Example:

"Shorter greeting"

description
string | null

The hypothesis under test

variants
DaoExperimentVariantWrite · object[]

The variants of the experiment, as a complete set. Two or more, each on a different agent, exactly one of them the control.

Response

Successful Response

Response model for experiment operations.

An experiment splits the traffic of one channel target between two or more agents, so that the agents can be compared on the same population. One variant is the control the others are measured against. Each variant is a weighted pointer to the agent that variant runs; the weights are relative and not percentages.

id
integer
required

The internal ID of the experiment

Example:

1

name
string
required

The name of the experiment

Example:

"Shorter greeting"

target_id
integer | null
required

The channel target being split, or null if that target has since been deleted. A running experiment always has one.

Example:

1

variants
DaoExperimentVariantDetail · object[]
required

The variants of the experiment, in a stable order

status
enum<string>
required

draft, running, or stopped

Available options:
draft,
running,
stopped
created_at
string<date-time>
required

When the experiment was created

updated_at
string<date-time>
required

When the experiment was last written

last_updated_by
string
required

Who last wrote it

description
string | null

The hypothesis under test

started_at
string<date-time> | null

When the experiment started

stopped_at
string<date-time> | null

When the experiment stopped

target
DaoExperimentTargetSummary · object | null

The channel target being split, resolved for display. Null when the target has since been deleted, and when the read did not load it.