Skip to main content
POST
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
addVariations
object[]

New arms to add. Omit id to have the server generate one and key to have the server assign the next integer.

removeVariationIds
string[]

Ids of active arms to remove. Removed arms are tombstoned in place and their ids can never be re-added.

updateVariations
object[]

Metadata edits to existing active arms. Only name and description may be changed; key, values, weights, screenshots, and status are preserved.

Response

200 - application/json

Resource created

contextualBandit
object
required
featureDraftPublishFailures
object[]