Generated by API Evangelist
Written by API Evangelist tooling for Leanplum's API. It is a proposal applied on top of the contract, not a document Leanplum publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for A/B Tests API
version: 1.0.0
extends: openapi/leanplum-a-b-tests-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-22'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/api?action=getAbTest'].get
update:
x-apievangelist-phrasing:
intent: Get an A/B test
effect: read
questions:
- How do I see the details of one A/B test?
- Can I include unpublished drafts when fetching an A/B test?
instructions:
- text: Get A/B test {id} in app {appId}.
slots:
id: query.id
appId: query.appId
- text: 'Show A/B test {id} including drafts: {includeDrafts}.'
slots:
id: query.id
includeDrafts: query.includeDrafts
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=getAbTests'].get
update:
x-apievangelist-phrasing:
intent: List A/B tests
effect: read
questions:
- Which A/B tests are running in my app?
- Can I list only recently finished A/B tests?
instructions:
- text: List A/B tests in app {appId}.
slots:
appId: query.appId
- text: Show {recent} A/B tests in app {appId}.
slots:
recent: query.recent
appId: query.appId
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=getVariant'].get
update:
x-apievangelist-phrasing:
intent: Get an A/B test variant
effect: read
questions:
- How do I see the details of a specific A/B test variant?
- Can I include unpublished drafts when fetching a variant?
instructions:
- text: Get variant {id} in app {appId}.
slots:
id: query.id
appId: query.appId
- text: Fetch A/B test variant {id} for app {appId}, including drafts {includeDrafts}.
slots:
id: query.id
appId: query.appId
includeDrafts: query.includeDrafts
method: generated
generated: '2026-11-22'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.