Skip to main content
POST
/
api
/
v2
/
workspaces
/
{workspaceId}
/
landers
/
{landerId}
/
variants
/
create
Clone a variant (create new A/B test variant)
curl --request POST \
  --url https://api.landerlab.dev/api/v2/workspaces/{workspaceId}/landers/{landerId}/variants/create \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "variantId": 123,
  "name": "<string>"
}
'
{
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.landerlab.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

API key with ll_live_ prefix

Path Parameters

landerId
integer
required

Body

application/json
variantId
integer
required

Source variant ID to clone from

name
string
required

Name for the new variant

Maximum string length: 250

Response

Created variant

message
string
required