A/B tests

Create an objection-strategy A/B test

Compares two ways of answering one objection bucket, like price or timing. It starts as a draft unless you pass start: true. Buckets are independent, so tests on different buckets run side by side. A second test on the same bucket returns 409.

Session-only. This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

post/api/ab-tests/objection

Request

  • Base URL: https://api.setluca.com
  • URL: https://api.setluca.com/api/ab-tests/objection
  • Auth: API key in cookie luca.session_token

Headers

Luca-API-Version'1'

The major version of the API this client was built against. Omit it and the request is served by the current major version. Any other value is refused with 400 unsupported_api_version.

Request body

namestring required
descriptionstring
objectionType'price' | 'timing' | 'trust' | 'fit' | 'authority' | 'smokescreen' required
variantAStrategystring required
variantBStrategystring required
successMetric'call_booked' | 'lead_replied' | 'lead_qualified' | 'crm_deal_won'
trafficSplitinteger
minSampleSizeinteger
maxDurationDaysinteger
startboolean

Response

ok

idstring uuid required
coachIdstring uuid required
namestring required
descriptionstring nullable required
status'draft' | 'running' | 'paused' | 'completed' | 'archived' required
testType'message_copy' | 'objection_strategy' | 'tone' | 'opening' | 'cta_type' | 'offer_presentation' | 'voice_vs_text' | 'sales_framework' | 'multi_stage' required
trafficSplitinteger required
successMetric'call_booked' | 'lead_replied' | 'lead_qualified' | 'ghost_rate' | 'crm_deal_won' required
minSampleSizeinteger required
maxDurationDaysinteger required
winner'a' | 'b' | 'none' | 'null' nullable required
startedAtstring nullable required
completedAtstring nullable required
createdAtstring required
updatedAtstring required

Changes

No recorded changes to this operation across all 1 revision of this API.