Skip to main content
POST
/
v1
/
ab-tests
/
:id
/
promote
Promote a completed shadow experiment (apply or graduate to split)
curl --request POST \
  --url https://api.verlon.ai/v1/ab-tests/:id/promote \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "initialSplitPercent": 5
}
'
{
  "error": "<string>",
  "message": "<string>",
  "details": "<unknown>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.verlon.ai/llms.txt

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

Authorizations

Authorization
string
header
required

Layer API key (prefixed sk-). Generated from the dashboard under Settings → API Keys, or via layer key create in the CLI.

Body

application/json
action
enum<string>
required
Available options:
apply,
split
initialSplitPercent
number
default:5

Response

Promotion applied — for apply returns {success, action, gateId}; for split returns the new experiment id + clamped split percent.