# ExperimentVariant

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/http-api/schemas/experimentvariant/
> Summary: OpenAPI request or response schema for ExperimentVariant, including required fields, defaults, constraints, and linked nested types.

[← All HTTP schemas](/http-api/schemas/)

Defines one experiment variant: its definition version and traffic weight.

**Shape:** `object`

| Property | Required | Type | Description | Rules |
|---|---|---|---|---|
| `name` | yes | `string` | Gets the variant name, for example `"control"` or `"v3"`. It must be unique within the experiment. | — |
| `version` | yes | `integer (int32)` | Gets the `AgentDefinition.Version` number to serve. | pattern `^-?(?:0\\|[1-9]\d*)$` |
| `weight` | yes | `integer (int32)` | Gets the traffic weight from 0 through 100. The weights of all experiment variants must total exactly 100 or saving is rejected. See Experiment. | pattern `^-?(?:0\\|[1-9]\d*)$` |
