Skip to content

ExperimentStatus

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

Defines the lifecycle status of an A/B experiment.

[JsonConverter(typeof(JsonStringEnumConverter<ExperimentStatus>))]
public enum ExperimentStatus

Draft = 0

Created but not receiving traffic. It can be edited.

Running = 1

Traffic is split by weight. It cannot be edited and can only be stopped.

Stopped = 2

Stopped. New sessions use the current version and history does not change.

This value is written by name in JSON and stored as smallint in the database. The value order cannot change.