Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
VariantMeta — openapi
Metadata shared by every experiment variant.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
| variantId | string | false | Unique identifier for the variant. Only assigned once the experiment starts running; empty or null for draft variants. |
| label | string | false | Human-readable label for the variant, e.g. Control, Treatment A. Non-empty, at most 50 characters; must start with a letter and contain only letters, digits, spaces, underscores, or hyphens. |
| isBaseline | boolean | false | True iff this variant is the baseline. Exactly one variant must be the baseline. |
| weight | integer | false | Relative traffic weight for this variant. The platform normalizes across all variants, so weights do not have to sum to 100. |
Complete Schema
{
"type": "object",
"properties": {
"variantId": {
"type": "string",
"description": "Unique identifier for the variant. Only assigned once the experiment starts running;\r\nempty or null for draft variants.",
"nullable": true
},
"label": {
"type": "string",
"description": "Human-readable label for the variant, e.g. `Control`, `Treatment A`. Non-empty,\r\nat most 50 characters; must start with a letter and contain only letters, digits, spaces,\r\nunderscores, or hyphens.",
"nullable": true
},
"isBaseline": {
"type": "boolean",
"description": "True iff this variant is the baseline. Exactly one variant must be the baseline."
},
"weight": {
"type": "integer",
"description": "Relative traffic weight for this variant. The platform normalizes across all variants,\r\nso weights do not have to sum to 100.",
"format": "int32"
}
},
"additionalProperties": false,
"description": "Metadata shared by every experiment variant."
}