Flow definition REST API
The Flow definition REST API enables you to perform CRUD operations on flow definitions. A flow definition is a web, interactive, or triggered experiment or experience.
Use the following attributes for flow definitions:
Attribute |
Type |
Description |
Example(s) |
---|---|---|---|
|
string |
The name of the flow definition. |
|
|
string |
The unique ID of the flow definition. Only lowercase alphanumeric characters and underscores are allowed. |
|
|
string enum (uppercase) |
The type of the flow definition. For a web experiment or experience, set this value to For an interactive experiment or experience, set this value to For a triggered experiment or experience, set this value to |
Must be one of:
|
|
string enum (uppercase) |
The subtype of the flow. Set this value either to |
Must be one of:
|
|
string enum (uppercase) |
The status of the flow definition. When you create an experiment or experience, set this value to |
Must be one of:
|
|
array of uppercase strings (enum) |
The touchpoint where the user interacts with your brand. For example, for webpages, the channel is |
Every string must be one of:
|
|
string |
For a web or interactive experiment or experience, set this value to For a triggered experiment or experience, set this value to |
|
|
array |
Different versions of the same experiment. For an experience, set this value to an empty array |
|
|
object |
For an experiment, this object determines what percentage of guests should be exposed to each variant of the experiment. For an experience, this object determines what percentage of guests should be exposed to the experience. |
N/A |
|
object |
The time frame for when an experiment or experience can run. |
N/A |
|
object |
For an experiment with a primary goal, this object defines A/B test parameters. These parameters affect the minimum sample size required for a test to reach statistical significance. |
N/A |
|
boolean |
The archive status of the flow definition. |
|
|
array of objects |
An array of revisions of the flow definition. |
N/A |
|
integer |
The sequential number of the template revision. |
|