Rename split variant
Give one active variant a name of your choosing, or send name: null to put it back on the convention. A chosen name is kept: renaming the primary and POST /split-test/normalize-names move only the variants still named by convention, and the variant reports customName: true until it is reset.
Names are unique within the split, case-insensitively; a clash answers 400. Renaming the Primary Variant renames the agent itself, and every variant still on the convention follows it.
The agent behind the variant is renamed before the split is committed. If that cannot be carried through, the operation answers 502 and the split is unchanged; retry is safe.
Required API key scope: agents:write.
Authorizations
Send your API key as Authorization: Bearer YOUR_API_KEY.
Path Parameters
Agent id of the Primary Variant. Every split operation is addressed through the primary, not through a secondary variant.
1Agent id of the active variant to rename. May be the Primary Variant, in which case the agent itself is renamed and the convention names follow it.
1Body
The revision being changed and the new name, or null to reset.
The revision from the split you are changing.
x >= 15
The new display name, unique within the split (case-insensitive). Send null to reset a chosen name back to the convention.
1 - 100"Warm intro"
