Skip to main content
DELETE
Delete an A/B variant

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

cloudchat-instance
string
required

The CloudChat instance the account lives in, e.g. 4. Sent as a header, and required: with accountId it forms the pair that names exactly one account, which accountId alone does not. listMyCloudChatAccounts returns the value to send here alongside each accountId.

Path Parameters

project
string
required

The ClaudIA project to act on, by name. Get the names from listMyClaudiaProjects — a project these credentials do not cover answers 404, indistinguishable from one that does not exist.

key
string
required

The variant to act on, 1 to 64 letters, digits, _ or -. getProjectAbTest lists the existing ones.

Query Parameters

accountId
string
required

The CloudChat account whose permissions decide what you may read and write here, e.g. 7. It is permission context, not the resource: the project is named in the path. Only unique within an instance, so it is always read together with the cloudchat-instance header — get the pair from listMyCloudChatAccounts. An account your credentials hold no editing claim for answers 403.

Response

Deleted. The whole A/B test is returned as it now stands.

How this project's conversations are split between its base configuration and each A/B variant. Every new conversation draws once and keeps the variant it drew until it ends, always running that variant's current settings.

baselinePercentage
integer<int32>
required

Share of new conversations that run the base configuration, in percent.

Example:

80

variants
object[]
required

Every variant this project declares, including the ones receiving no traffic.