Update Split Test Step

Update a split test's variants: attach a page to an empty branch, swap an existing variant's page, or adjust the weights. The variants array length must equal the number of branches in the split test (2 for the standard binary case).

  • Weight rules: if any variant provides weight, all variants must provide it and the values must be integers 0..100 summing to 100. If none provide weight, weights stay unchanged.
  • Page-id rules per variant:
    • Equal to current page_id → no-op.
    • Branch currently empty + new page_id provided → attach.
    • Branch currently has a page + new different page_id → swap (old step destroyed).
    • page_id: null or blank is rejected (detach is out of scope — use DELETE with branch parameter instead).
  • Any page being attached/swapped-in must: (a) be in the same workspace, (b) be a user_page, and (c) have no existing ShowPageStep anywhere in any funnel.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required
integer
required
Body Params

Parameters for updating a split test's variants. The variants array length must equal the current number of branches (2 for the standard binary case). Each entry may provide any subset of { page_id, weight }.

split_test_step
object
required
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json