tm_change_variables_set_mode
Switch sampling mode (ROW, COLUMN, SEQUENTIAL) on an existing variables set without re-uploading the CSV. Returns updated metadata.
Instructions
Switch sampling mode on an existing set without re-uploading
the CSV. Accepts any of the three modes: ROW, COLUMN,
SEQUENTIAL.
Common use cases:
A capture-import-created set lands in
ROWmode by default; flip toSEQUENTIALfor ordered replay that reproduces the original traffic order.A set originally created with
ROW(correlated per-row sampling) can be flipped toCOLUMNif you want uncorrelated combinations across columns instead.
The server re-parses the stored CSV with the target mode and
400s if the CSV is incompatible — e.g. switching to ROW
when the CSV has no weight column. The error message names
the actual cause so the AI host can either:
Fix the underlying CSV (delete + re-upload with the right shape).
Stay in the current mode.
Returns the updated metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variables_set_id | Yes | ||
| mode | Yes |