Leanplum · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Files and Variables API
6 actions
6 updates
phrasing
extends
openapi/leanplum-files-and-variables-api-openapi.yml
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.
What the actions change
x-apievangelist-phrasing
Targets 6
$.info
$.paths['/api?action=getVars'].get
$.paths['/api?action=setVars'].post
$.paths['/api?action=deleteVars'].post
$.paths['/api?action=downloadFile'].get
$.paths['/api?action=uploadFile'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Files and Variables API
version: 1.0.0
extends: openapi/leanplum-files-and-variables-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: 5
- target: $.paths['/api?action=getVars'].get
update:
x-apievangelist-phrasing:
intent: Get variable values for a user or device
effect: read
questions:
- How do I read the current values of my app's variables for a user?
- Can I include default variable values when fetching them?
instructions:
- text: Get the variable values for user {userId} in app {appId}.
slots:
userId: query.userId
appId: query.appId
- text: Fetch variables for device {deviceId} with defaults set to {includeDefaults}.
slots:
deviceId: query.deviceId
includeDefaults: query.includeDefaults
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=setVars'].post
update:
x-apievangelist-phrasing:
intent: Set variables for content
effect: write
questions:
- Can I set custom variables for content management from my server?
- Can I tag variables to a particular device?
instructions:
- text: Set variables {vars} in app {appId} with client key {clientKey}, API version {apiVersion}.
slots:
vars: requestBody.vars
appId: requestBody.appId
clientKey: requestBody.clientKey
apiVersion: requestBody.apiVersion
- text: Save variables {vars} for device {deviceId} in app {appId} using key {clientKey}.
slots:
vars: requestBody.vars
deviceId: requestBody.deviceId
appId: requestBody.appId
clientKey: requestBody.clientKey
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=deleteVars'].post
update:
x-apievangelist-phrasing:
intent: Delete variables from Leanplum
effect: destructive
questions:
- How do I remove variables I no longer use?
- Can I delete several variables in one request?
instructions:
- text: Delete variables {vars} from app {appId}.
slots:
vars: requestBody.vars
appId: requestBody.appId
- text: Remove the variables {vars} using client key {clientKey}.
slots:
vars: requestBody.vars
clientKey: requestBody.clientKey
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=downloadFile'].get
update:
x-apievangelist-phrasing:
intent: Download a file from the dashboard
effect: read
questions:
- How do I download a file I uploaded to the dashboard?
- Can I get a file's URL through the API?
instructions:
- text: Download file {filename} from app {appId}.
slots:
filename: query.filename
appId: query.appId
- text: Get the dashboard file {filename} using client key {clientKey}.
slots:
filename: query.filename
clientKey: query.clientKey
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=uploadFile'].post
update:
x-apievangelist-phrasing:
intent: Upload files to the dashboard
effect: write
questions:
- How do I upload files so I can pick them in the dashboard?
- What's the maximum file size for a single upload?
instructions:
- text: Upload file {file} named {filename} to app {appId}.
slots:
file: requestBody.file
filename: requestBody.filename
appId: requestBody.appId
- text: Upload files {data} to the dashboard using client key {clientKey}.
slots:
data: requestBody.data
clientKey: requestBody.clientKey
method: generated
generated: '2026-11-22'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/leanplum-files-and-variables-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
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.
A second provider on the same verified email joins the account you already have.