start_model_test
Start a production A/B test that changes only the model: the agent's current instruction runs on a second model and the cheaper one ships only if it holds quality. No optimization is required. The variant arm is delivered to the SDK, which must be configured to serve the target model (same-client override or a resolveModel hook). Promotion switches the agent's model and the deployment is verified as a model swap on fresh traffic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | The agent whose model is being tested | |
| customerId | No | (Converra superadmin only) Target customer ID | |
| targetModel | Yes | Provider model id the variant arm runs on, for example gpt-5.6-mini or accounts/<account>/models/<model>. Not validated against the catalog. | |
| scoreDefinition | No | Production score contract: gated_v1 (default) or artifact_v1 for saved artifact base scores. | |
| trafficAllocation | No | Percent of user traffic entering the test, 1-100. Default: 10. | |
| variantPercentage | No | Percent of in-test traffic assigned to variant, 1-99. Default: 50. | |
| minScoredConversationsPerArm | No | Scored runs each arm needs before the parity rule may decide. Default: 300; minimum 30 (the post-swap verifier's cohort floor). |