Skip to main content
PUT
cURL

Authorizations

Authorization
string
header
required

If using Bearer auth, pass the Secret Key as the token:

Path Parameters

id
string
required

Body

application/json
name
string
description
string
project
string
owner
string

The userId or email address of the owner. If an email address is provided, it will be used to look up the userId of the matching organization member. If an ID is provided, it will be validated as existing in the organization.

tags
string[]
trackingKey
string
hashAttribute
string
variations
object[]
datasource
string
contextualBanditQueryId
string
contextualAttributes
string[]
decisionMetric
string
minUsersPerLeaf
integer
maxLeaves
integer
Required range: x <= 12
scheduleValue
number
scheduleUnit
enum<string>
Available options:
days,
hours
burnInValue
number
burnInUnit
enum<string>
Available options:
days,
hours
conversionWindowValue
number | null
conversionWindowUnit
enum<string> | null
Available options:
hours,
days
archived
boolean
status
enum<string>
Available options:
draft,
running,
stopped
coverage
number
Required range: 0 <= x <= 1
condition
string
savedGroups
object[]
prerequisites
object[]
seed
string
variationWeights
object[]

Response

200 - application/json

Resource updated

contextualBandit
object
required