Skip to content

Zoho: List Webform A B Testing configurations

Zoho abTesting.getAbTesting: arguments, response, policy and SDK examples.

← Ab testing operations · Get started

Operation zoho.getabtesting

Provider route: GET /crm/v8/settings/AB_testing. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/zoho with npm, or alter-sdk-zoho with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { ZohoIntegration } from "@alter-ai/zoho";
async function execute(input: Parameters<ZohoIntegration["abTesting"]["getAbTesting"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new ZohoIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.abTesting.getAbTesting(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_zoho import ZohoIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = ZohoIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.ab_testing.get_ab_testing(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
queryobjectOptionalAdditional keys: not allowed
query.modulestringOptionalOne of: Leads
query.base_formnumberOptionalOne of: 111111000000115000

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)ModelAlternativeExpand List Webform A B Testing configurations — response body — AB testing
$ (anyOf 2)nullAlternative

Referenced models: List Webform A B Testing configurations — response body — AB testing

3 more schemas are linked from the tables above, on the schema pages.

List Webform A B Testing configurations — response body — AB testing
FieldTypePresenceDescription and constraints
$objectRootSuccessful response returned when retrieving all AB test configurations.
Additional keys: not allowed
AB_testingarrayOptionalRepresents the list of AB test configurations returned by the request.
Maximum items: 1000
AB_testing[]ModelEach itemExpand List Webform A B Testing configurations — response body — AB testing AB testing item

Referenced models: List Webform A B Testing configurations — response body — AB testing AB testing item

List Webform A B Testing configurations — response body — AB testing AB testing item
FieldTypePresenceDescription and constraints
$objectRootRepresents an AB test configuration object in a list response.
Additional keys: not allowed
base_formModelRequired within parentExpand Get AB Testing configuration by ID — response body — AB testing AB testing item base form
complete_restart_infonullOptionalRepresents information about a complete restart of the AB test, if applicable. Returns null when no restart has occurred.
conditionModelRequired within parentExpand Get AB Testing configuration by ID — response body — AB testing AB testing item condition
created_byModelRequired within parentExpand Update AB testing configuration by ID — request body — body AB testing item created by
created_timestringOptionalRepresents the creation date and time of the AB test configuration.
Maximum length: 255
dynamic_allocation_by_ziabooleanOptionalIndicates whether the traffic allocation between the base form and variant forms is managed dynamically by Zia, the AI assistant.
Possible values:
**true** - Zia dynamically adjusts traffic allocation based on performance.
**false** - Traffic is allocated according to the manually configured split.
idstringRequired within parentRepresents the unique identifier of the AB test configuration.
Maximum length: 19
moduleModelRequired within parentExpand Create AB testing configuration — request body — body AB testing item module
namestringRequired within parentRepresents the name of the AB test configuration.
Maximum length: 255
notifybooleanOptionalIndicates whether notifications are enabled for this AB test.
Possible values:
**true** - Notifications are sent when the test reaches a significant milestone.
**false** - No notifications are sent.
start_timestringOptionalRepresents the scheduled start time of the AB test.
Maximum length: 255
started_timestringOptionalRepresents the actual date and time when the AB test started running.
Maximum length: 255
statusstringRequired within parentRepresents the current lifecycle status of the AB test.
Possible values:
**drafted** - The test exists but has not started.
**running** - The test actively distributes traffic.
**scheduled** - The test starts at a future date.
**paused** - The test has stopped temporarily.
**completed** - The test has finished and results are available.
**launched** - The winning form has launched.
Known values: drafted, running, scheduled, paused, completed, launched
Maximum length: 255
suggestionnullOptionalRepresents the AI-generated suggestion for the AB test, if available. Returns null when no suggestion is available.
trafficJSONRequired within parent
traffic (anyOf 1)integerAlternativeRepresents the total percentage of visitor traffic allocated to this AB test.
Format: int32
traffic (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
traffic_diversionnullOptionalRepresents the traffic diversion configuration for the AB test, if applicable. Returns null when no traffic diversion is configured.
variant_formarrayRequired within parentRepresents the list of variant webforms included in the AB test, each with its own traffic allocation and performance data.
Maximum items: 2
variant_form[]ModelEach itemExpand List Webform A B Testing configurations — response body — AB testing AB testing item variant form item
winner_configurationModelOptionalExpand Get AB Testing configuration by ID — response body — AB testing AB testing item winner configuration

Referenced models: Update AB testing configuration by ID — request body — body AB testing item created by, Create AB testing configuration — request body — body AB testing item module, Get AB Testing configuration by ID — response body — AB testing AB testing item base form, Get AB Testing configuration by ID — response body — AB testing AB testing item condition, List Webform A B Testing configurations — response body — AB testing AB testing item variant form item, Get AB Testing configuration by ID — response body — AB testing AB testing item winner configuration

Update AB testing configuration by ID — request body — body AB testing item created by
FieldTypePresenceDescription and constraints
$objectRootRepresents the CRM user who created the AB test configuration.
Additional keys: not allowed
idstringOptionalRepresents the unique identifier of the user who created the AB test.
Maximum length: 19
namestringOptionalRepresents the full name of the user who created the AB test.
Maximum length: 255
Create AB testing configuration — request body — body AB testing item module
FieldTypePresenceDescription and constraints
$objectRootRepresents the CRM module associated with an AB test, identified by its API name and ID.
Additional keys: not allowed
api_namestringOptionalRepresents the API name of the CRM module associated with the AB test.
Maximum length: 50
idstringOptionalRepresents the unique identifier of the CRM module associated with the AB test.
Format: int64
Maximum length: 19
Minimum length: 1
Pattern: ^[0-9]+$
Get AB Testing configuration by ID — response body — AB testing AB testing item base form
FieldTypePresenceDescription and constraints
$objectRootRepresents the base webform in an AB test, including its traffic allocation, performance metrics, and embed code formats.
Additional keys: not allowed
activebooleanOptionalIndicates whether the base webform is currently active.
Possible values:
**true** - The webform is active and accepting submissions.
**false** - The webform is inactive.
code_formatsarrayOptionalRepresents the list of embed code formats available for this webform.
Maximum items: 3
code_formats[]stringEach itemRepresents an available embed code format for the webform.
Possible values:
**source** - The raw HTML source code.
**embed** - The embeddable script tag.
**iframe** - The iframe embed code.
Maximum length: 255
embed_codestringOptionalRepresents the embeddable script code for the webform.
Maximum length: 255
idstringRequired within parentRepresents the unique identifier of the base webform.
Maximum length: 255
iframe_codestringOptionalRepresents the iframe embed code for displaying the webform.
Maximum length: 255
leadingbooleanOptionalIndicates whether the base form is currently leading in the AB test based on performance metrics.
Possible values:
**true** - The base form is leading.
**false** - The base form is not leading.
moduleModelOptionalExpand Create AB testing configuration — request body — body AB testing item module
namestringOptionalRepresents the name of the base webform.
Maximum length: 255
no_of_submissionJSONOptional
no_of_submission (anyOf 1)integerAlternativeRepresents the total number of form submissions received by the base webform during the AB test.
Format: int32
no_of_submission (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
no_of_visitsJSONOptional
no_of_visits (anyOf 1)integerAlternativeRepresents the total number of visitor sessions on the base webform during the AB test.
Format: int32
no_of_visits (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
old_trafficnullOptionalRepresents the previous traffic allocation percentage for the base webform before the most recent update. Returns null when no previous allocation exists.
source_codestringOptionalRepresents the full HTML source code of the base webform.
Maximum length: 255
trafficJSONRequired within parent
traffic (anyOf 1)integerAlternativeRepresents the percentage of visitor traffic allocated to the base webform.
Format: int32
traffic (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
winnerbooleanOptionalIndicates whether the base webform has been declared the winner of the AB test.
Possible values:
**true** - The base webform is the declared winner.
**false** - The base webform has not been declared the winner.
winner_confidencenullOptionalRepresents the statistical confidence level for declaring the base webform as the winner. Returns null when the confidence has not been calculated.

Referenced models: Create AB testing configuration — request body — body AB testing item module

SDK function policy ID: zoho.getabtesting. Catalog operation: getAbTesting. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

No-content response statuses: [204]

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.