A/B tests

Pause an A/B test

Stops assigning new leads and keeps the results so far. Only a running test can pause. Start it again later and it picks up where it left off.

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/{id}/pause

Request

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

Path parameters

idstring uuid required

Identifier of the A/B test this operation targets.

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.

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.