Create an experiment variant
Experiments
Create an experiment variant
Creates a new variant for the specified experiment.
POST
Create an experiment variant
Authorizations
Your unique Avido API key
Your unique Avido Application ID
Path Parameters
The unique identifier of the experiment
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Example:
"123e4567-e89b-12d3-a456-426614174000"
Body
application/json
Request body for creating a new experiment variant
The config patch to apply to the system, entire config if baseline
Example:
{ "llm": { "model": "reasoning" } }The title of the variant
Maximum string length:
256Example:
"Variant A"
The variant description
Maximum string length:
2048Example:
"Switch to reasoning model"
Parent variant ID for inherited variants (non-baseline variants)
Pattern:
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Example:
"123e4567-e89b-12d3-a456-426614174000"
Response
Successfully created experiment variant
Response containing a single experiment variant