Class CreateExperimentRequestContent
- Namespace
- Auth0.ManagementApi.Experimentation
- Assembly
- Auth0.ManagementApi.dll
[Serializable]
public record CreateExperimentRequestContent : IEquatable<CreateExperimentRequestContent>
- Inheritance
-
CreateExperimentRequestContent
- Implements
- Inherited Members
- Extension Methods
Properties
AllocationStrategy
The traffic allocation strategy for this experiment
[JsonPropertyName("allocation_strategy")]
public AllocationStrategyEnum? AllocationStrategy { get; set; }
Property Value
Allocations
Traffic allocations mapping variations to weights or segments
[JsonPropertyName("allocations")]
public IEnumerable<AllocationRequestItem>? Allocations { get; set; }
Property Value
AuthenticationFlow
[JsonPropertyName("authentication_flow")]
public required AuthenticationFlowEnum AuthenticationFlow { get; set; }
Property Value
DefaultConfig
Applies only to Auth0-managed flags. Controls where non-overridden config keys resolve from: 'tenant' inherits the tenant's live config so the experiment overlays only its changes, 'flag' uses the flag's frozen defaults for a complete config. Optional; defaults to 'tenant' when omitted. Rejected for customer-defined flags.
[JsonPropertyName("default_config")]
public DefaultConfigEnum? DefaultConfig { get; set; }
Property Value
Description
A description of the experiment
[JsonPropertyName("description")]
public string? Description { get; set; }
Property Value
FeatureFlagId
The ID of the feature flag this experiment is based on
[JsonPropertyName("feature_flag_id")]
public required string FeatureFlagId { get; set; }
Property Value
Levels
Ramp experiment levels configuration. A strictly-increasing sequence of exposure percentages, each an integer in [0, 100].
[JsonPropertyName("levels")]
public IEnumerable<int>? Levels { get; set; }
Property Value
Name
A human-readable name for the experiment
[JsonPropertyName("name")]
public required string Name { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.