Ploa

v0.2.2
dev.ploa/ploa Checked 3 hours ago Published 24 days ago

Ship apps for iPhone, iPad, Mac, Apple TV, Vision Pro and Android to the App Store and Google Play

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ploa_setup_guide Set up a new app, step by step

Start here for a new app, or when the stores or Ploa aren't set up yet; for an update it says what a store turned down that the person reads and answers. Works out where this folder stands (signed in, app IDs in the Expo config or, for a Flutter, React Native, Capacitor, Gradle or Xcode app, in its own projects, linked to Ploa, each store connected, the app created in each store, signing, store page, first build, Google Play's way to production) and returns what's next, in order: who does each step (the person or you), exactly what to do, and direct links that open the exact page in App Store…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_preflight Check the app before a build

Checks this Expo app for what App Store Connect and Google Play would reject, before spending time on a build (a Flutter, React Native, Capacitor, Gradle or Xcode app, which Ploa builds too, isn't checked yet: it says so, and the build can go ahead): version and build numbers against the stores, bundle IDs, the icon, iOS purpose strings, privacy manifest, export compliance, Play's target SDK, sensitive permissions, and secrets committed to git. Returns each finding with how to fix it.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_build_files_push Send the build files git doesn't have

Finds the files a build on GitHub reads that git doesn't have (the app config's googleServicesFile for Android and iOS, and the .env files Expo loads) in this checkout, and sends those that aren't in Ploa yet or differ from its copy (or the paths given). They wait sealed in Ploa's vault until the person approves them on ploa.dev with one tap; not approved within 24 hours, they're dropped. Tell the person to approve, with the link this returns, and follow it with ploa_approval_status. The files' values never pass through here: only names, sizes and a .env's variable names. Signing and store key…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
pathsarrayFiles to send, relative to the app's folder. Default: those the build will miss.

ploa_access What this agent may do

Who this Ploa token belongs to and what it may do: its access level (read, draft, submit, production), whether its owner made it autonomous (then App Review, production, prices, testers and products go straight through instead of waiting for a person's approval), and how the person chose this agent works. choose records the person's answer to ploa_setup_guide's first question, and only theirs: "approvals" (each review, release and price change waits for their OK in Ploa) is kept at once; "autonomous" is only asked for: it returns a link where the person, signed in to Ploa, confirms it for this…

ParameterTypeDescription
choosestringThe person's answer: how this agent works from now on.

ploa_usage_get What the plan has left

What the workspace uses of its Ploa plan: the plan, apps and members against its counts, this month's cloud builds on Ploa's machines per platform (included, used, left, and what one past the count costs: on Free builds stop at the count, on paid plans each one past it adds to the next bill), and the web's hosting room (sites, storage, traffic). Read it before a build on Ploa's machines (where: "cloud"), adding an app or inviting a member, and tell the person first when it would cost them or stop. Builds on this machine, on GitHub, in Xcode Cloud or in the person's Google Cloud never count her…

ploa_status What the stores have

Shows what App Store Connect and Google Play have for this app right now: recent iOS builds and their processing state, App Store versions, and Google Play tracks with their releases and rollout.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_release_start Build and send to testers

Builds the app and sends it to testers: iOS to TestFlight (signed with the certificate Ploa issues for this build), Android to Google Play internal testing (Ploa signs it with the upload key it keeps). By default it builds on this machine; where: "github" builds on GitHub instead, from the commit on the app's release branch (or sha), with the workflow Ploa wrote for the repo (the app's GitHub card in Ploa sets it up): Android on GitHub's Linux runners, iOS on the person's own Mac registered as a self-hosted runner with the label ploa (it waits for that runner), or on GitHub's Macs where an own…

ParameterTypeDescription
platform *string
applePlatformstringWith platform ios: the Apple platform to build, for an app whose target builds for several (a Mac, Apple TV or Vision Pro app). Default: the one the app's Xcode target builds for (iOS when it builds f…
branchstringIn Xcode Cloud: the branch to build. Default "main".
buildNumberstringiOS build number or Android versionCode. Default "auto": one higher than anything the store has. On GitHub always "auto".
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
shastringOn GitHub, in the cloud or in Google Cloud: the commit to build. Default: the head of the app's release branch.
wherestringWhere to build: "here" (this machine, the default), "github" (from what is pushed; iOS on the person's self-hosted Mac runner, or GitHub's Macs if an owner allowed them), "cloud" (Ploa's machines, fro…
workflowstringIn Xcode Cloud: the workflow's name, when the app has more than one.

ploa_release_status Where a release is

Where a release stands: building, uploading, being processed by Apple, on TestFlight or internal testing, or failed and why. While it builds on this machine, includes the last lines of the build log.

ParameterTypeDescription
releaseId *stringThe release ID that ploa_release_start returned.

ploa_release_changes What's in a release

The pull requests merged and the commits between two releases, from the app's GitHub repo (linked on its GitHub card in Ploa): for a release, since the release of its platform before it; with no release, what the release branch has had since the live version (or else the last release that reached testers). Each PR comes with its title, author and description. Use it to write release notes from what people did rather than commit messages alone (the write_release_notes prompt).

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
releaseIdstringA release. Left out: the app's release branch since the live version.

ploa_release_submit_review Ask to submit for App Review

Asks a person to approve submitting an iOS build that is on TestFlight for App Review; the in-app products that are ready to submit go to review with it. When the version is already with App Review with an older build, this is refused and says so; replace: true then asks for both steps under one approval: Ploa withdraws the version from App Review, puts this build on it and submits it (App Review starts over). When App Review rejected the version, this sends it back, with this build (a newer one or the same): Ploa puts it on the version and resubmits the submission App Review sent back, as App…

ParameterTypeDescription
releaseId *stringThe release ID that ploa_release_start returned.
replacebooleanThe version is with App Review with another build: withdraw it and submit this build in its place, under one approval.
replyIdstringA reply to App Review's message for this version, from ploa_app_review_reply: Ploa puts it in the version's App Review notes before submitting.

ploa_release_withdraw_review Ask to withdraw a version from App Review

Asks a person to approve taking an iOS version out of App Review (App Store Connect's Remove from review): Ploa cancels its review submission and waits until Apple shows the version as Developer Rejected, editable again, with its build still on TestFlight. Pass the release of any build of that version. To send a newer build in its place in one step, use ploa_release_submit_review with replace: true instead. Nothing changes at Apple until a person approves on the Ploa dashboard; check it with ploa_approval_status. Needs a token allowed to submit.

ParameterTypeDescription
releaseId *stringThe release ID that ploa_release_start returned.

ploa_release_stop Stop a build

Stops a build that's still building, wherever it runs (GitHub, Ploa's machines, the person's Google Cloud, Xcode Cloud, or a computer with the CLI), as the Stop button on the dashboard does. Like the dashboard, it takes two steps: called without confirm, it changes nothing and says what the build is and what stopping does where it runs; show that to the person, and only once they say yes, call again with confirm: true. Without releaseId it picks the app's newest build that's still building. A stopped build can't be picked up again; the dashboard and ploa_runs show it as stopped by you. A web v…

ParameterTypeDescription
confirmbooleantrue only after the person said yes to stopping it.
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
releaseIdstringThe build's release ID (ploa_runs lists them). Defaults to the app's newest build still building.
sitestringWith webVersion: the site's address, when the workspace has more than one.
webVersionstringA web version to stop instead: its build number (ploa_web_status lists them).

ploa_release_promote Ask to promote an Android release

Asks a person to approve moving an Android release from internal testing to production (or beta / alpha; a Wear OS, TV, Automotive or XR build on its form factor's own tracks), optionally as a staged rollout to a percentage of users. Nothing changes on Google Play until a person approves on the Ploa dashboard; this returns at once with the request's ID, so check it with ploa_approval_status. Needs a token allowed to touch production. On the App Store, an approved version is released with ploa_appstore_release, and its phased release changed with ploa_appstore_phased_release.

ParameterTypeDescription
releaseId *stringThe release ID that ploa_release_start returned.
track *stringproduction, beta or alpha. A Wear OS, Google TV, Android Automotive or Android XR build stays on its own form factor's tracks (wear:production…) by itself; name one (wear:production) to choose.
rolloutPercentnumberShare of users for a staged rollout, 1 to 100. Default 100.

ploa_rollout Widen, halt or finish a Google Play rollout

Asks a person to approve a change to an Android release's staged rollout on production (or the track it's on): increase to a bigger percentage, halt it (people who have it keep it; no one new gets it), resume a halted one at a percentage, or complete it (everyone). Use it when ploa_quality shows crashes or ANRs rising after a release (halt), or when the rollout looks healthy (increase or complete). Nothing changes on Google Play until a person approves (an autonomous agent's request goes straight through); follow the answer with ploa_approval_status. A first rollout to production is ploa_relea…

ParameterTypeDescription
do *string
releaseId *stringThe release ID that ploa_release_start returned.
percentnumberFor increase and resume: the share of users, 1 to 99 (complete is 100).

ploa_build_diagnose Why a build failed, and the fix

Says why a build failed, as one cause and the step that fixes it, instead of a log: from the newest failed run of this app (or releaseId), and, when given, the build's log (logPath, a file on this computer, or text pasted from GitHub's or Cloud Build's log). It knows the usual ones: disk or memory, the Gradle wrapper committed from Windows, the JDK or Android SDK, CocoaPods, an old Xcode, signing and capabilities, a build number already used, Google Play's target SDK, missing node modules or Flutter, build files git doesn't have, GitHub's billing, and the network or a busy store. A transient o…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
logPathstringAbsolute path to the build's log on this computer (the CLI prints it: full log: …).
releaseIdstringThe failed release, as ploa_runs lists them. Default: this app's newest failed run.
textstringThe end of a log, pasted (GitHub Actions, Cloud Build).

ploa_runs Release runs, step by step

Lists this app's recent release runs, newest first: each release Ploa carried (started from the CLI, an agent or the dashboard) with its state, who started it, when, how long it took to reach TestFlight or internal testing, the commit, and every step with its duration (build, upload, App Store Connect or signing, Apple processing or Google Play, the testing track, and the App Review or promotion step a person approves). Use it to see why a release failed or where it is.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
limitnumberHow many runs, 1 to 20. Default 5.
platformstring

ploa_shipping_report Where everything stands

One report of where this app stands everywhere, like the dashboard's Shipping page: the newest TestFlight build and App Store version, Google Play's testing and production tracks with the rollout, what waits for a person's approval, and the last release run. Read-only. Start here when asked how the app is doing or what to do next.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
freshbooleanAsk the stores again instead of using recent copies.

ploa_quality How stable a release is

How stable the app's released versions are, from the stores themselves. Read-only. Google Play: the user-perceived crash and ANR rates over 28 days, overall and per version code, against Play's bad-behavior thresholds (1.09% crashes, 0.47% ANRs), and the crashes and ANRs people hit most. App Store: Apple's API has no crash rates, so it gives what Apple offers: Xcode's performance metrics per version (launch time, hangs, memory, disk writes…) with Apple's regressions, and each build's diagnostics (hangs, disk writes, launches). Give releaseId (or platform and version) to check one release bef…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
freshbooleanAsk the stores again instead of the copy from the last half hour.
platformstringWith version, instead of releaseId.
releaseIdstringThe release ID that ploa_release_start returned.
versionstringAndroid: the version code. iOS: the build number.
versionNamestringiOS: the version the build belongs to, like 1.2.0.

ploa_appstore_price_points App Store prices to choose from

Every price Apple offers in the app's base territory, cheapest first (0 is free), each with the pricePointId that ploa_details_save takes for step price.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_appstore_register_bundle_id Register the bundle ID at Apple

For a new app: registers its iOS bundle ID with Apple (nothing happens if it's already there), so the person only picks it when creating the app in App Store Connect, which only a person can do there. Needs a token allowed to submit.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_android_upload_key_get Read the Android upload key

Whether Ploa holds this app's Android upload key, the key every Android build is signed with before it goes to Google Play: its alias, SHA-256 fingerprint and expiry, and its certificate (public) as PEM. The key itself never leaves Ploa. Pass certificatePath to save the certificate there, for a person to give Play Console when it asks for one (Test and release › App integrity › Upload key › Request upload key reset).

ParameterTypeDescription
certificatePathstringAbsolute path to save the certificate (.pem) to. Optional.
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_android_upload_key_save Create or upload the Android upload key

Gives Ploa this app's Android upload key, which it keeps in its vault and signs every Android build with; it never leaves Ploa. how create: Ploa makes a new key (RSA 2048, valid 30 years) right in the vault, so no one holds a copy and no password passes through you. Use it only when Google Play has no upload key for this app yet (a new app, or one never uploaded): Play takes the first build's key as the upload key. how upload: an existing keystore (.keystore, .jks or .p12 in PKCS#12 format) from an absolute path on this machine, with its password and, if it holds several keys, the alias. Use i…

ParameterTypeDescription
how *string
aliasstringhow upload: the key's alias, if the keystore holds several.
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
passwordstringhow upload: the keystore's password.
pathstringhow upload: absolute path to the keystore.
replacebooleanReplace the upload key Ploa already holds. Only when the person asked.

ploa_product_get Read an in-app product

One in-app product or subscription as its store has it: kind, state, name and description per language, the US price, a subscription's period and free trial, on the App Store its subscription group, review note, Family Sharing and image (the one the App Store shows with it: url, Apple's state; Google Play keeps none), and under review what the store still needs before it can go to people and the next step (submit or activate). platform is ios or android; a Google Play subscription's productId is "product:basePlan", as the purchases list shows it. With no productId, what a new one needs: the st…

ParameterTypeDescription
platform *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
productIdstring

ploa_product_save Create or change an in-app product

Creates an in-app product or subscription in one store (leave productId out and put it in values), or changes one, straight to the store (needs a token allowed to submit). values: kind (subscription, consumable, non_consumable; on create), productId (on create: Apple takes letters, numbers, periods, underscores; Play lowercase), price (US dollars such as "4.99": Apple picks its nearest price point at or above, Play converts it for every country), period (subscriptions: P1W P1M P2M P3M P6M P1Y), trial (P3D P1W P2W P1M, or null to remove), listings ({ locale: { name, description } } in the store…

ParameterTypeDescription
platform *string
values *object
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
productIdstringThe product to change; leave out to create.

ploa_product_job How a long product write is going

How far a long product write got (an App Store subscription's price, free trial or introductory offer, set country by country): its step (prices, trial_remove, trial, intro_remove, intro), how many of how many countries are done, and at the end what the store has now, or why it failed. Ask again every 20 seconds or so until state is done or failed.

ParameterTypeDescription
jobId *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_product_submit Send an in-app product to review

Sends one product on its way to people: on the App Store to App Review (Apple takes an app's first products only with a version; then it goes when the version is submitted through Ploa, which sends every ready product along with the version anyway). An approved App Store product's changed names or image are a new version of it (ploa_product_get's version.draft), sent the same way while the approved one stays on sale. On Google Play, puts it on sale. ploa_product_get says first what the store still needs under review.missing (listing, price, screenshot, groupName). From an agent this always wai…

ParameterTypeDescription
platform *string
productId *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_product_review_screenshot Upload an in-app product's review screenshot

Uploads the screenshot App Review looks at for one App Store product (PNG or JPEG, up to 10 MB, from an absolute path on this machine): the screen where it's bought in the app. It replaces the one there. Needs a token allowed to submit.

ParameterTypeDescription
path *stringAbsolute path to the image.
productId *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_product_image Change an in-app product's App Store image

Uploads the image the App Store shows with one product (where it's promoted, and on its page): PNG or JPEG of exactly 1024×1024 pixels, up to 10 MB, from an absolute path on this machine. It replaces the one there and goes to App Review with the product. While the product is with App Review, Ploa keeps the image and sends it itself once Apple has decided (the answer says so; nothing to retry). App Store only: Google Play keeps no image for a product. Needs a token allowed to submit.

ParameterTypeDescription
path *stringAbsolute path to the image.
productId *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_offers_get Read a subscription's offers

A subscription's offers as its store has them, each with its id, type, state (active, draft, scheduled, inactive, ended) and terms. App Store types: intro (the introductory offer, one per country, read as one: the free trial is one too), promotional (code is what the app signs), winback (who it's for under winback), code (offer codes; customers and how many codes were made). Google Play: offers on the base plan, with phases ({ duration, periods, kind: free | discount | price, percent, price }), eligibility (new_app, new_subscription, upgrade, developer), upgradeFrom and tags; trial is true for…

ParameterTypeDescription
platform *string
productId *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_offer_save Create, change or end a subscription offer

Creates an offer on one subscription (leave offerId out), or changes or ends one (offerId from ploa_offers_get), straight to the store (needs a token allowed to submit). End one with values { state: "ended" }; put a Google Play draft or ended offer on sale with { state: "active" }. App Store values: type (intro, promotional, winback, code), mode (free, pay_as_you_go, pay_up_front), duration (P3D P1W P2W P1M P2M P3M P6M P1Y; for pay_as_you_go the length of each period), periods (pay_as_you_go: 1 to 12), price (US dollars such as "0.99": Apple picks its nearest price point at or above and the eq…

ParameterTypeDescription
platform *string
productId *string
values *object
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
offerIdstringThe offer to change or end; leave out to create.

ploa_offer_codes An App Store offer code's codes

The codes of one App Store offer code (offerId "code:…" from ploa_offers_get). action list: its batches of one-time codes and its custom codes, each with an id, count, expiry and whether it still works. action create (values { kind: one_time | custom, count, expires: YYYY-MM-DD, customCode for custom }): one-time codes (up to 25,000 a batch) Apple makes in a few minutes, or one custom code people type (count is how many times it can be redeemed); from an agent this waits for a person's approval. action download (batchId of one-time codes, saveTo an absolute path for the CSV file): writes the…

ParameterTypeDescription
action *string
offerId *string
productId *string
batchIdstring
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
saveTostring
valuesobject

ploa_revenuecat_create_product Create a store product in RevenueCat

Creates a product the store already has in the app's RevenueCat project, under the same identifier so purchases unlock what they should, and optionally adds it to an entitlement and to a package of the current offering. values: platform (ios or android), storeId (the store's product ID; a Google Play subscription is "product:basePlan"), kind (subscription, consumable, non_consumable), displayName, entitlementId and packageId (from ploa_revenuecat_product_options). Always waits for a person's approval when an agent asks.

ParameterTypeDescription
values *object
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_revenuecat_product_options Where a new RevenueCat product can go

The RevenueCat project's entitlements and the packages of its current offering, with the IDs ploa_revenuecat_create_product takes.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_sales Downloads and sales

This app's downloads from each store's daily reports: first-time downloads (Google Play: new users) and updates for the last 30 days, against the 30 days before, with a value per day for 60 days. Also each store page's funnel: App Store impressions, product page views, downloads by source, conversion, sessions and deletions (from Apple's analytics reports, once a person has started them), and Play's store listing visitors and acquisitions by traffic source. For tokens of the workspace's owners, also Apple's proceeds and Google's earnings per currency and RevenueCat's numbers; anyone else's tok…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
freshbooleanAsk the stores again instead of using the kept answer.

ploa_testflight_get Read TestFlight

The app's TestFlight as App Store Connect has it: tester groups (internal or external, how many testers, the public link and its limit, which builds each has; an internal group may get every build on its own), the beta information Apple's beta review needs (description and feedback email per language) and the beta review contact (the demo password is never shown, only whether one is set), and what is still missing before a build can go to beta review. With buildId (from ploa_release_status or the store's builds), that build's side too: What to Test per language, the groups that have it, its be…

ParameterTypeDescription
buildIdstring
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
freshboolean
groupIdstring

ploa_testflight_save Change TestFlight

One TestFlight change, straight to App Store Connect (needs a token allowed to submit). values by action — group.create: { name, internal (bool), allBuilds (bool, internal groups) }. group.update: { groupId, name, feedback (bool), allBuilds (bool, internal groups: every build on its own), publicLink (bool, external groups), publicLinkLimit (number or null) }. group.delete: { groupId }. testers.add: { groupId, testers: [{ email, firstName, lastName }] }: Apple emails each one, so from an agent it waits for a person's approval. testers.remove: { groupId, testerIds }. build.whatToTest: { buildI…

ParameterTypeDescription
action *string
values *objectThe fields for the action, as described above.
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_play_testers_get Read Google Play testers

Google Play's testing tracks as Play has them: internal testing, closed testing (alpha and any closed track of the app's own naming) and open testing, each with the release on it now (name, version codes, status) and, for internal and closed tracks, its tester Google Groups. Play's API knows testers only as Google Groups: Play Console's email lists (the only kind internal testing takes there) aren't in it, and open testing has no list. Also the opt-in link testers join through and the app's Play Console IDs. testersError says why the groups couldn't be read (Play's daily edit limit for the app…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
freshboolean
trackstringOnly this track, like internal or alpha.

ploa_play_testers_save Change Google Play testers

Adds and takes out tester Google Groups (by their email address, like testers@googlegroups.com) on one internal or closed testing track, straight to Google Play in one edit (needs a token allowed to submit). Everyone in an added group can then join through the opt-in link and get the track's build, so from an agent it waits for a person's approval. Single email addresses can't be added: Play's API takes only Google Groups; email lists are managed in Play Console. Open testing has no list. Play allows each app only so many edits a day: change several groups in one call rather than one call each…

ParameterTypeDescription
track *stringThe testing track, like internal or alpha (ploa_play_testers_get lists them).
addarrayGoogle Groups to add, by email address.
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
removearrayGoogle Groups to take out.

ploa_reviews_get Read customer reviews

Customer reviews of the app from the App Store and Google Play in one list, newest first: stars, title, text, the reviewer's name, the App Store country or the Google Play language, the app version (Google Play only), the date, and the developer's reply if there is one. Each store's ratings summary too (the App Store's own average and count; for Google Play, the average of the reviews read). Google Play gives only reviews with text from about the last week; older ones are only in Play Console. Filter by store, stars (a list such as [1, 2]) and unanswered.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
freshbooleanAsk the stores again instead of Ploa's last answer (a few minutes old at most).
limitintegerHow many to return (default 25).
starsarray
storestring
unansweredbooleanOnly reviews without a reply.

ploa_review_reply Reply to a customer review

Replies to a review from ploa_reviews_get (reviewId such as apple:123 or google:abc), in the store, under the review, where anyone can read it. A new reply replaces the one there was. Empty text takes the App Store reply back (Google Play can't). At most 5970 characters on the App Store and 350 on Google Play. Write it as the app's developer: thank, answer the point, no promises the team hasn't made. From an agent it waits for a person's approval (needs a token allowed to submit).

ParameterTypeDescription
reviewId *string
text *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_marketing_get Read custom product pages and A/B tests

The App Store's custom product pages (each with its state, its own link with ppid, which version is live, and its languages with promotional text) and product page optimization A/B tests (state, share of visitors, start and end, treatments with their alternate icon) of the app. Give pageId or testId for one page's or test's screenshots and previews per language (with the localization IDs ploa_marketing_upload needs). options: true lists the live version's languages and the alternate icons its build carries for tests. Apple's API gives no test results (impressions, conversion, improvement): tho…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
freshbooleanAsk Apple again instead of Ploa's last answer (a few minutes old at most).
optionsboolean
pageIdstring
testIdstring

ploa_marketing_save Change custom product pages and A/B tests

One change to the App Store's custom product pages or A/B tests (needs a token allowed to submit). action and body: page.create { name, template: "listing" (a copy of the live product page, the default) | "blank" (with locale and promotionalText) | "page:<pageId>" }; page.update { pageId, name?, visible? }; page.text { pageId, locale, promotionalText } (170 characters; a new locale adds that language); page.newVersion { pageId } (to change an approved page); page.remove { pageId }; page.review { pageId }; test.create { name, trafficProportion (percent of visitors who see a treatment, 1-100), t…

ParameterTypeDescription
action *string
body *object
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_marketing_upload Upload a screenshot or preview to a custom product page or A/B test treatment

Uploads one file from an absolute path on this machine to a custom product page's language (owner page, parentId the page ID) or an A/B test treatment's language (owner test, parentId the test ID), by the localizationId ploa_marketing_get shows for the page or test. kind screenshot: PNG or JPEG up to 10 MB, type an App Store display type such as APP_IPHONE_67 or APP_IPAD_PRO_3GEN_129. kind preview: an app preview video (MOV, M4V or MP4; H.264, 15 to 30 seconds, at most 30 fps and 500 MB, in the device size's resolution, checked before anything is sent), type such as IPHONE_67 or IPAD_PRO_3GEN_…

ParameterTypeDescription
kind *string
localizationId *string
owner *string
parentId *string
path *stringAbsolute path to the file.
type *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_events_get Read the App Store in-app events

The app's In-App Events on the App Store, soonest first: ID, reference name, badge, state (DRAFT, READY_FOR_REVIEW, WAITING_FOR_REVIEW, IN_REVIEW, REJECTED, ACCEPTED, APPROVED, PUBLISHED, PAST, ARCHIVED), dates per group of territories (UTC), deep link, purchase requirement, priority, purpose, the name and descriptions per language, whether each language has its event card and details page media (and Apple's processing state), and what an editable event still needs before App Review. Also Apple's limits and allowed values. Pass eventId for one event.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
eventIdstring
freshbooleanAsk Apple again instead of Ploa's last answer (a few minutes old at most).

ploa_event_save Make or change an App Store in-app event

Makes a new In-App Event (no eventId: referenceName and badge required) or changes a draft or rejected one (eventId; send only what changes). Nothing reaches people until App Review approves it (ploa_event_submit). Fields: referenceName (≤64, only in App Store Connect), badge (LIVE_EVENT, PREMIERE, CHALLENGE, COMPETITION, NEW_SEASON, MAJOR_UPDATE, SPECIAL_EVENT), deepLink (universal link or the app's URL; null removes), purchaseRequirement (NO_COST_ASSOCIATED, IN_APP_PURCHASE), priority (NORMAL, HIGH), purpose (APPROPRIATE_FOR_ALL_USERS, ATTRACT_NEW_USERS, KEEP_ACTIVE_USERS_INFORMED, BRING_B…

ParameterTypeDescription
event *objectThe fields, as described.
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
eventIdstringThe event to change; leave out to make a new one.

ploa_event_media_upload Upload an in-app event's picture or video

Uploads the event card (slot card: 16:9, 1920×1080 to 3840×2160) or details page (slot details: 9:16, 1080×1920 to 2160×3840) media of one language of an event: a PNG or JPEG picture, or a MOV, M4V or MP4 video (30 or 60 fps), from an absolute path on this machine. It replaces the one there was. The language's text must be saved first (ploa_event_save). No text or logos in the media, no borders or gradients: Apple adds those. Needs a token allowed to submit.

ParameterTypeDescription
eventId *string
locale *string
path *stringAbsolute path to the picture or video.
slot *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_event_submit Ask to send an in-app event to App Review

Asks to send a ready event (ploa_events_get says what it still needs) to App Review, in a review submission of its own. Submitting is the owner's decision: from an agent it waits for a person's approval in Ploa (check with ploa_approval_status). Once Apple approves it, the App Store shows it on its dates. Needs a token allowed to submit.

ParameterTypeDescription
eventId *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_play_data_safety_send Send Data safety to Google Play

Sends the Data safety answers kept in Ploa to Google Play through its API (Google's own CSV, every question), replacing the whole Data safety form in Play Console; Google then reviews it. Only for an agent its owner made autonomous (see ploa_access): otherwise a person presses Send to Google Play on the store setup page, and this says so. Save the answers with ploa_privacy_save first.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_changes_get What's waiting to be sent to the stores

Every draft on the store setup, by store: the setup parts (App Store app information, age rating, price, release, App Review; Google Play's contact details) and the store listing per language, field by field. People and agents fill these; ploa_details_send takes them to the stores. Also the changes Ploa keeps while Apple has what they're for with App Review (a product's image, screenshots, text, an event…): Ploa sends those by itself once Apple has decided; ploa_held_changes lists them by language and sends them now.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_held_changes Changes kept for App Review: list them, or send them now

The changes Ploa keeps while Apple has what they're for with App Review (the App Store text per language, screenshots, app previews, the App Store setup, a product's image, an in-app event…): Apple takes no changes to what it's reviewing, so Ploa keeps them and sends them by itself once Apple has decided. Without send, lists them by language and kind, each with its id, when it was kept and whether Apple refused it. send: true sends them to the App Store now (all, or the ids given), oldest first; one Apple still refuses for App Review stays kept, with the ones of its kind after it. Sending wa…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
idsarrayOnly these changes (ids from the list). All of them when left out.
sendbooleanSend them to the App Store now. Leave out to list them.

ploa_listing_get Read the store listing

The store listing (name, subtitle, descriptions, keywords, links, screenshots, App Store app previews with their processing state, Google Play's promo video) of both stores, per language: the app's languages with each store's code (Hebrew is he at Apple and iw-IL at Google), what each store is still missing per language, and for one language every field's live value, draft and character limit, and its screenshots and app previews in their order, each with the id ploa_screenshot_remove and ploa_preview_remove take and its set's setId for ploa_screenshot_order and ploa_preview_order. Videos are…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
freshboolean
languagestringA language code (he, en-US, ja…); without it, the list of languages and what's missing.

ploa_listing_start_version Start a new App Store version

Apple takes text and screenshot changes only on a version being prepared. This creates the next one (e.g. 1.2.0), copying the last version's text and screenshots. Needs a token allowed to submit.

ParameterTypeDescription
version *stringLike 1.2.0
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_screenshot_upload Upload a screenshot to a store

Uploads one image (PNG or JPEG, up to 10 MB, from an absolute path on this machine) straight to the store listing. apple types: APP_IPHONE_67 (6.9-inch iPhone, required), APP_IPAD_PRO_3GEN_129 (13-inch iPad), and Apple's other display types; only on a version being prepared. google types: phoneScreenshots (2 to 8), sevenInchScreenshots, tenInchScreenshots, featureGraphic (1024×500, one), and for a Wear OS or TV app wearScreenshots (square, 384 px or more), tvScreenshots (16:9 landscape, 1280×720 or more) and tvBanner (1280×720, one). The file is checked against the store's rules first (ploa…

ParameterTypeDescription
locale *string
path *stringAbsolute path to the image.
store *string
type *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_screenshot_remove Remove a screenshot from a store

Removes one screenshot or graphic from the store listing, by the id ploa_listing_get shows. Needs a token allowed to submit.

ParameterTypeDescription
id *string
locale *string
store *string
type *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_screenshot_order Put a set of App Store screenshots in order

Sets the order of one App Store screenshot set (one language and device size): setId and every screenshot id of the set, each once, in the order they should appear, from ploa_listing_get with that language. Only on a version being prepared. Google Play keeps images in the order they were uploaded: there, remove them and upload again in order. Needs a token allowed to submit.

ParameterTypeDescription
ids *arrayEvery screenshot id of the set, first to last.
setId *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_preview_upload Upload an App Store app preview

Optional: the App Store doesn't require app previews, so make one only when the person wants it (ask). Uploads one app preview video (from an absolute path on this machine) to the App Store version being prepared, for one language and device size. Apple's rules, checked before anything is sent: .mov, .m4v or .mp4, H.264 (or ProRes 422 HQ in a .mov), 15 to 30 seconds, at most 30 fps and 500 MB, at most 3 per device size and language, and the device size's resolution (IPHONE_67/65/61/58: 886×1920 or 1920×886; IPHONE_55/40: 1080×1920; IPHONE_47: 750×1334; IPAD_PRO_3GEN_129/3GEN_11/105: 1200×…

ParameterTypeDescription
locale *stringApple's language code (en-US, he…).
path *stringAbsolute path to the video.
type *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
posterAtnumberSeconds into the video for the poster frame.

ploa_preview_remove Remove an App Store app preview

Removes one app preview from the App Store version being prepared, by the id ploa_listing_get shows. Needs a token allowed to submit.

ParameterTypeDescription
id *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_preview_order Put a set of App Store app previews in order

Sets the order of one app preview set (one language and device size, up to 3): setId and every preview id of the set, each once, first to last, from ploa_listing_get with that language. Needs a token allowed to submit.

ParameterTypeDescription
ids *array
setId *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_preview_poster Set an app preview's poster frame

Chooses the frame people see before an app preview plays: seconds into the video (like 5.5), or Apple's time code hh:mm:ss:ff. Needs a token allowed to submit.

ParameterTypeDescription
at *number | string
id *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_approval_status Where an approval request is

Whether a person approved, rejected or hasn't yet decided a request made with ploa_release_submit_review, ploa_release_withdraw_review, ploa_release_promote, ploa_appstore_release, ploa_appstore_phased_release or another tool that asks, and, once approved, what the store said.

ParameterTypeDescription
approvalId *string

ploa_app_icon_sync Send the app's icon to Ploa

Sends the app's icon from this project (the file the Expo config names: ios.icon, else icon; an app that isn't Expo: the largest of its iOS AppIcon set, else Android's launcher icon) to Ploa, so the dashboard shows it at once instead of waiting for a build to reach the stores. Ploa shows the project's icon until a store shows a newer one, and puts it (at 512×512) on a Google Play listing that has no icon yet; one Play already has stays. Other Ploa tools already send a changed icon on the way; use this right after changing it, or to fill a new app's Play listing icon.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_web_status The web of the person's apps

The workspace's web on Ploa's hosting (Ploa Aio), each the web app or site of one app: its address, what it is (a web app, pages about the app, or both; installable as a PWA), and its versions with where each stands (going up, with testers at its testing address, waiting for a person to approve its release, live, replaced), Ploa's checks on each, and the hosting room. Read-only. Start here.

ParameterTypeDescription
sitestringThe site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site.

ploa_web_setup Add the web to an app, or change what it is

Adds the web to one of the person's apps, at a free <address>.ploa.app, or changes what an app's web is. kind: 'app' (the app itself in the browser), 'site' (pages about the app, linking to its store apps) or 'both' (the pages at the address, the web app under /app); pwa: installable to the home screen. An app with store apps on both platforms needs no PWA on phones (people should get the store apps): leave pwa off unless the person wants it on computers, and then point phones at the stores (the manifest's prefer_related_applications with its Google Play app, and Apple's apple-itunes-app smart…

ParameterTypeDescription
addressstringThe part before .ploa.app (3 to 40 lowercase letters, digits and dashes). For a new web only.
appIdstringThe app it's the web of.
kindstringWhat it is.
namestringWhat to call it in the dashboard (default: the app's name).
pwabooleanInstallable (a PWA). Off by default; with store apps on both platforms, only if the person wants it on computers.
sitestringThe site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site.

ploa_web_build Send a new version of the web app

Builds the web app or site in this project with its own framework's command and sends it as a new version. Ploa knows Expo (npx expo export --platform web), Next.js with output: 'export', Astro, SvelteKit with adapter-static, Nuxt (generate), React Router in SPA mode, Angular, Gatsby, Docusaurus, VitePress, Eleventy, Vite, Create React App, Vue CLI, Hugo, Jekyll, MkDocs, Flutter (flutter build web), any project with a build script, and plain HTML; it installs the packages first when they're missing, and finds the output folder (out, dist, build, .output/public, build/web...). A project set up…

ParameterTypeDescription
buildbooleanBuild it first with its framework's command (default true); false sends what's built already.
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
notestringWhat this version is, shown in its history (a change, a commit message).
sitestringThe site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site.
versionstringIts version, when the project doesn't say (1.4.1).

ploa_web_testers Who tests the web app's versions

Who opens the testing addresses of the site's versions, and what to test. access: 'testers' (the emails added here sign in with a code), 'password' (set password too) or 'link' (anyone with the address). add and remove take emails; note is what to test, shown to testers when they sign in. lang: the code email's language for testers without a Ploa account. Without changes it only reads them.

ParameterTypeDescription
accessstring
addarrayEmails to add as testers.
langstringThe code email's language for testers without a Ploa account ('' for each tester's own page's). People with a Ploa account always get theirs.
notestringWhat to test.
passwordstringFor access: password (6 to 100 characters). Give it to the person, not in a public place.
removearrayEmails to take off.
sitestringThe site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site.

ploa_web_release Release a web version

Puts a tested version live at the site's address and the person's domains (the newest one with testers, or the one named), now or at a time (at, ISO 8601). Ploa reviews it again first; anything unsafe stops it. Like production in the stores, it needs a person: this only asks, and the person approves on ploa.dev (ploa_approval_status tells you), unless ploa_access says you're autonomous, when it goes at once. Never try another way around the approval.

ParameterTypeDescription
atstringWhen it goes live (ISO 8601); default now.
sitestringThe site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site.
versionstringThe version's build number (13) or ID, as ploa_web_status lists them.

ploa_web_domain_add Connect a domain the person owns

Connects a domain the person already owns (example.com or www.example.com) to one of their sites. Ploa sells no domains: every site has its free <address>.ploa.app, and the plan limits how many own domains connect (Free: none; Starter 1, Pro 3, Team any). Returns the DNS records the person adds where their domain's DNS is managed: a TXT that proves it's theirs, and an A record (bare domain) or CNAME (subdomain) to Ploa. Give the person the records exactly; don't change their DNS for them unless they ask. Then ploa_web_domain_check.

ParameterTypeDescription
domain *stringThe domain, like example.com or www.example.com.
sitestringThe site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site.

ploa_web_domain_check Check the site's domains

Checks the domains connected to a site now: whether the TXT proves each is the person's, whether its A or CNAME sends it to Ploa, and whether a request reaches Ploa's hosting; with the records still to add and what's wrong. DNS changes usually show within minutes, sometimes hours; Ploa also checks by itself every few minutes. Read-only for the person's DNS.

ParameterTypeDescription
domainstringOne domain to check (default: all of the site's).
sitestringThe site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site.

ploa_web_rollback Go back to an earlier web version

Puts a site back on a version that was live before (the one before the current, or the one named), at once and with no review: it's how to undo a bad release. Ploa keeps the last 10 versions' files. Tell the person which version it goes back to.

ParameterTypeDescription
sitestringThe site's address (the part before .ploa.app) or ID. Needed when the workspace has more than one site.
versionstringThe version's build number (13) or ID, as ploa_web_status lists them.

ploa_server_status The app's server

The app's server, the server side of its web app: an API, scheduled jobs and a Postgres database Ploa runs on Google Cloud, either in Ploa's cloud (on Pro and Team, one for each app, its room set by the plan; nothing is bought) or in the person's own Google Cloud project (any plan, Google bills them). Says where it stands, its address, the live version and the last deploys, its variables (secrets by name only), its jobs, and what's needed when it's stopped. With no server, the kinds the workspace can have. Read-only. Start here.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_server_create Make the app's server

Makes the app's server, the server side of its web app. cloud: ploa (on Pro and Team: made at once with the room the plan gives each app; nothing is bought) or own (the person's Google Cloud project, any plan: Ploa prints commands they run once to let it in). Ask the person which before calling. retry: true carries on making one that stopped (after the person ran the commands, say). folder and releaseCommand set where the server's code is in the repository and a command run before each version goes live (database migrations, say: npx prisma migrate deploy).

ParameterTypeDescription
cloudstring
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
folderstringThe server's folder in the repository, such as server or apps/api.
projectstringFor cloud: own, the Google Cloud project's ID (Settings › Builds' when not given).
regionstringFor cloud: own (me-west1, Tel Aviv, when not given).
releaseCommandstring | nullRun once before each version goes live; null for none.
retryboolean

ploa_server_deploy Deploy the server's code

Sends the server's code as a new version: the server's folder from the project (the default), or source: github to have Ploa take it from the app's linked repository (a commit, or the branch's head). Ploa builds it in the server's Google Cloud with its Dockerfile, or as Node, Python, Go, Java, Ruby, PHP or .NET by itself (package.json's start script, a Procfile...); it must listen on the PORT variable. Then the release command runs, and the new version goes live; the one before stays for rolling back. Returns at once: ploa_server_status says how it went, and ploa_server_logs shows the build an…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
folderstringThe server's folder, relative to the app's folder; the server's own setting when not given.
shastring
sourcestring

ploa_server_env The server's environment variables

Sets or removes the server's environment variables; the live version restarts with them. secret: true for keys and passwords (kept in Ploa's vault and Google's Secret Manager, never shown again); plain values show. Never put a secret the person hasn't given you; ask them to set it on the server's page instead. DATABASE_URL is set by Ploa.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
removestring
setarray

ploa_server_logs The server's logs

The server's output and its jobs', newest first (the last day unless since is given): what it printed, requests with their status, crashes. text finds lines with those words; job: a job's name, or run for commands run with ploa_server_run. Read-only.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
jobstring
limitnumber
sincestringAn ISO time.
textstring

ploa_server_run Run a command on the server once

Runs a shell command once with the server's live version, its variables and database (a seed script, a one-off fix). There's no SSH: its output is in ploa_server_logs with job: run. Needs the production tier.

ParameterTypeDescription
command *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_server_jobs The server's scheduled jobs

Adds or changes a scheduled job (name, schedule as cron's five fields in UTC, at most every 5 minutes, and the command, run with the live version), or removes one. The package sets how many (Mini 1, S 3, M 10).

ParameterTypeDescription
commandstring
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
namestring
removestring
schedulestring

ploa_db_query Query the server's database

Runs SQL on the server's Postgres as its own role, which reaches that database only. Read-only unless write: true (needs the production tier; prefer migrations in the code for the schema). Returns the last statement's rows.

ParameterTypeDescription
sql *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
writeboolean

ploa_github_status GitHub for this app

Where builds on GitHub stand for this app, and what's next: whether GitHub is connected to Ploa, the repository, folder (and any platform's own folder) and release branch linked, Ploa's workflow on that branch (current, older, missing; whether it still builds), each platform's build state with its reason (the same the dashboard's Build button shows), where iOS builds (the person's Mac or GitHub's Macs), build files a build would miss, and GitHub minutes. Ends with the next steps, each marked for the person (with its link) or for you. Read-only.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_github_setup Set up builds on GitHub

Does your part of setting up builds on GitHub for this app and asks the person for theirs. GitHub not connected: returns the link where the person connects it (once: a trip to github.com and back). Not linked: asks to link the app to its repository, folder and release branch (read from this checkout's origin and folder unless given). The link decides which repository's runs get the app's signing, so a person approves it on ploa.dev (an autonomous agent's links at once); pass the person the link and follow it with ploa_approval_status. Linked: Ploa commits its workflow to the release branch (a…

ParameterTypeDescription
branchstringThe release branch builds start from. Default: the repository's default branch.
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
folderstringThe app's folder in the repository ("" for its top). Default: this checkout's; on the web, the folder whose app is this one.
repostringowner/name on GitHub. Default: this checkout's origin (or the repository already linked).

ploa_github_settings Change the app's GitHub settings

Asks to change the app's GitHub settings, the switches on its GitHub card in Ploa: labelBuilds (a PR label ploa:android, ploa:ios or ploa:all builds the PR's head), iosHosted (iOS builds on GitHub's Macs instead of the person's own Mac; the signing identity goes to GitHub's machine for the build, and a Mac minute counts as ten of the person's GitHub minutes on a private repository: say so first), releaseFlow (Releases on GitHub: deployments, a tag and a GitHub Release when a version goes live, the next version's PR), storeCode (the store page from the repo's store/ folder becomes drafts on pus…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
iosHostedbooleaniOS builds on GitHub's Macs (true) or the person's own Mac as a self-hosted runner (false). An owner's decision.
issuesobjectGitHub issues from the stores, per source.
labelBuildsbooleanBuilds from PR labels (ploa:android, ploa:ios, ploa:all).
releaseFlowbooleanReleases on GitHub: deployments, a tag and a GitHub Release when a version goes live, the next version's PR.
storeCodebooleanThe store page from the repo's store/ folder: a push to the release branch makes drafts.

ploa_details_get Read the store details

Everything both stores ask for, as one set of answers, the same as the person's Store details wizard on ploa.dev: the languages (each with its App Store and Google Play code), the text per language, the links and contact, category, age rating answers (with every question and its allowed answers), price and countries, App Review's contact and demo account, release, and privacy. Plus problems: what each store would refuse now (FIX) and what's likely a mistake (check), each with the step and language it's in, and what's left for the person to enter by hand in a store's console, with links. Start…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
freshbooleanAsk the stores again instead of the copy from the last two minutes.
stepstringOnly one step's answers; all when left out.

ploa_details_save Save store details

Saves answers as drafts in Ploa, one step at a time, for both stores at once (a token allowed to draft is enough; nothing reaches a store until ploa_details_send). Returns what each store would still refuse. step and values: - text: { languages: { <language code from ploa_details_get, or a new one like "fr-FR">: { name (both stores, 30), subtitle (App Store, 30), shortDescription (Google Play, 80), description (both, 4000), keywords (App Store, 100, commas; Ploa tidies them), promotionalText (App Store, 170, optional), whatsNew (App Store 4000, only for an update; Google Play 500, on the next…

ParameterTypeDescription
step *string
values *objectThe answers, as above.
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_review_attachment_upload Attach a file for App Review

Uploads a file for Apple's reviewers to the App Store version being prepared, beside the review notes: a demo video of a flow they can't reach (hardware, a paid account, a location), or a document (from an absolute path on this machine, up to 500 MB). It goes to App Store Connect straight away, not as a draft; while the version is with App Review, Ploa keeps it and sends it once Apple has decided (files over 60 MB can't wait: send them again then). ploa_details_get step review lists the attachments with their ids. Needs a token allowed to submit.

ParameterTypeDescription
path *stringAbsolute path to the file.
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_review_attachment_remove Remove a file attached for App Review

Removes one App Review attachment from the App Store version being prepared, by the id ploa_details_get step review lists. While the version is with App Review, Ploa removes it once Apple has decided. Needs a token allowed to submit.

ParameterTypeDescription
id *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_privacy_save Save the privacy answers

What the app collects, once for both stores: Apple's App Privacy and Google Play's Data safety are made from it. Read the app's code first (ploa_privacy_hints). apple: { collects: true|false, types: { <type>: { purposes: [appFunctionality|analytics|personalization|developerAdvertising|thirdPartyAdvertising|other], linked: bool, tracking: bool } } } with types name, email, phone, address, otherContact, health, fitness, payment, credit, otherFinancial, preciseLocation, coarseLocation, sensitiveInfo, contacts, emails, photos, audio, gameplay, support, otherContent, browsingHistory, searchHistory,…

ParameterTypeDescription
apple *object
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
googleobject

ploa_details_send Send the store details to both stores

Checks every answer against both stores' rules and, when nothing would be refused, sends every draft to App Store Connect and Google Play in one go, saying per part what each took. When something would be refused, nothing is sent and the problems come back with the step to fix each in. Apple keeps what's for a version with App Review (Ploa sends it once Apple decides); an agent's price change becomes an approval. Needs a token allowed to submit; otherwise tell the person to press Send on the Store details page.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_encryption_get Read the app's export compliance

Apple's export compliance for the app's iOS builds: the person's answers about the app's encryption (kept in Ploa), whether they need an encryption declaration at Apple and which document (a CCATS for proprietary algorithms; the French encryption declaration when it's sold in France), the declaration Ploa made and Apple's review state, the version's build's answer, what the Info.plist should say, and what's left with who does it. Includes each question in words to ask the person. Read-only.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
freshbooleanAsk Apple again instead of the copy from the last two minutes.

ploa_encryption_save Save the export compliance answers

Saves the person's answers about the app's encryption in Ploa (nothing reaches Apple until ploa_encryption_declare or the person's Send to Apple). These are the person's statements under US and French export rules: ask them, with what the code suggests (ploa_encryption_get has the questions), and save only what they said. kind: "none" (no encryption, or only Apple's: HTTPS through iOS, the Keychain) | "exempt" (only for what Category 5, Part 2 of the US rules exempts) | "standard" (standard algorithms the app implements itself, like a bundled OpenSSL or libsodium) | "proprietary" | "both". Wit…

ParameterTypeDescription
descriptionstring
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
franceboolean
kindstring

ploa_encryption_document Upload the export compliance document

Uploads the document Apple asks for with an encryption declaration, from an absolute path on this machine (PDF, PNG or JPEG, up to 10 MB): the CCATS from the US Bureau of Industry and Security (proprietary algorithms) and/or the French encryption declaration (on the App Store in France). Only a document the person gave you: they come from those authorities, never write one. Apple takes one file per declaration, so two documents go in one PDF. Kept in Ploa and sent with the declaration.

ParameterTypeDescription
path *stringAbsolute path to the file.
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_encryption_declare Send export compliance to Apple

Sends the saved export compliance answers to Apple: when they need it, makes the encryption declaration in App Store Connect, uploads its document, and attaches it to the App Store version's build and the builds waiting for an answer (or the one buildId); otherwise answers "no non-exempt encryption" on those builds. Apple reviews a declaration (about two business days); Ploa attaches it to each new build it sees processed. It's the person's statement to Apple, so only a person sends it (on the Store details page) unless ploa_access says this agent is autonomous; otherwise this says where they…

ParameterTypeDescription
buildIdstringOnly this build (its App Store Connect ID).
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_screenshot_specs What screenshots each store takes

The stores' screenshot rules per device type, from Apple's and Google's own pages: the exact sizes (Apple) or the range (Google Play), how many a set holds, the format, the size to make, which sets each store asks for, and a simulator that captures each Apple size as is. Then, for the app in this folder, what its store page has per language and which screenshot sets it still needs. Also the videos the page has, which are optional (App Store app previews, Google Play's promo video): ask the person before making one. Start here before making screenshots; capture them with ploa_screenshot_capture…

ParameterTypeDescription
allbooleanApple's older devices, Mac, Apple TV, Vision Pro and Watch too.
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
storestringOne store; both when left out.

ploa_screenshot_check Check screenshots before uploading

Checks image files on this machine (absolute paths) against a store's rules, from each file's own header: PNG or JPEG, no transparency, the size (Apple: exactly one of the device size's; Google Play: 320 to 3840 px a side, at most twice as long as wide; the feature graphic exactly 1024×500) and the file size. With type, against that device type, and says if there are more files than a set holds; without it, which of the store's types take each file as it is. Nothing is sent anywhere.

ParameterTypeDescription
paths *arrayAbsolute paths to the images.
store *string
typestringApple's display type (APP_IPHONE_67, APP_IPAD_PRO_3GEN_129…) or Google Play's image type (phoneScreenshots, sevenInchScreenshots, tenInchScreenshots, featureGraphic; a Wear OS app's wearScreenshots,…

ploa_screenshot_web Capture the web build at a phone's size

Saves a screenshot of a page of the app's web build (a dev server like http://localhost:8081, or the web's testing address) at exactly a store's size, with Chrome or Edge in the background: an iPhone 6.9-inch (1320×2868) by default, an iPad, or a Google Play phone. It's the way to make iPhone screenshots on Windows or Linux, where there's no iOS Simulator, for an app whose web build is the same app (Expo, Flutter, React Native for web). Apple wants screenshots of the app itself in use: show the person the result and use it only when the web build looks like the iPhone app (no browser-only par…

ParameterTypeDescription
url *stringThe page, http(s)://…
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
folderstringWhere to save it (absolute path). Default: screenshots/ in the project.
namestringThe file's name, like 01-home.png.
typestringThe store's display type: APP_IPHONE_67 (default), APP_IPHONE_65, APP_IPAD_PRO_3GEN_129, or Google Play's phoneScreenshots, sevenInchScreenshots, tenInchScreenshots.
waitMsnumberHow long the page may load before the shot, in ms (default 4000, up to 20000).

ploa_screenshot_capture Capture a simulator's or emulator's screen

Saves what a booted iOS Simulator (xcrun simctl) or Android emulator or device (adb screencap) shows now, as a PNG, and says which of the store's types take it as it is. It only captures: run the app and bring it to the screen first; nothing is installed, booted or launched. Saved under the app's store/screenshots/<platform>/ unless folder says otherwise; an alpha channel is removed, since the stores refuse transparency. Pick the device by name or ID when several are running; list: true only lists them. For Apple's sizes, capture on the simulator ploa_screenshot_specs names (an iPhone 17 Pro M…

ParameterTypeDescription
devicestringThe simulator's name or UDID, or the Android device's serial or model.
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
folderstringWhere to save it (absolute path).
listbooleanOnly list the running simulators and devices.
namestringThe file's name, like 01-home.png. Defaults to the device and the time.
platformstringNeeded only when both an iOS Simulator and an Android device are running.

ploa_privacy_hints What the app's code says about the data it collects

Reads this app's package.json, Expo config, Info.plist purpose strings, AndroidManifest permissions, the privacy manifests of the app and its SDKs, and its imports, and returns hints for Apple's App Privacy and Google Play's Data safety: each well-known SDK (analytics, crash reporting, ads, push, sign-in, payments…) and permission with the data types and purposes it usually involves, in the keys ploa_privacy_save takes. Each hint says where it was found, whether it collects by design or only depending on how the app uses it, and what to check in the code. Also flags tracking (ATT, the advert…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_ask_person Ask the person to do something only they can

Puts a task in the person's approvals for something only a person can do, which you found is needed: a form or declaration in App Store Connect or Play Console that no store API takes (App Privacy, Play's App content forms, Apple's regulated medical device and EU trader declarations), an agreement only the Account Holder accepts, a click in a store's console. Ploa files these itself when a store stops a request (ploa_person_tasks lists them): ask for one only when it isn't there. Give it as numbered steps, each with the exact answer and, where it's done, its link and button words. The dashboar…

ParameterTypeDescription
title *stringA short title, in English (Declare the medical device status at Apple).
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
firstTimeOnlybooleanOnly the first time is the person's; later times are done for them.
heobjectThe same title and steps in Hebrew, for a dashboard in Hebrew.
linkstringThe main page where it's done (https).
partstringThe store details part it is, when it's one of them.
stepsarrayThe steps, in English.
storestring
whatstringInstead of steps: the same as one text (older form).

ploa_person_tasks What's waiting for the person to do by hand

The tasks waiting in the person's approvals for something only they can do (a store console's form, a declaration, Google's first production release in Play Console), the ones Ploa filed itself when a store stopped a request and the ones agents asked for: each with its numbered steps, their links, and its address in Ploa. Call it after a store refuses or holds something (a release left as a draft, App Review's refusal), and whenever the person asks what's left. Walk them through each in chat, step by step with the links, and give each task's address. Read-only.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_news What happened

What happened in the last week that you should know: a store's review answer (App Review, Google Play), a build that failed or reached testers, an approval the person decided, a person's task done, something a store turned down, a low review, a TestFlight build about to expire, a store connection that stopped working. Each with what to do next. New ones also come at the end of any Ploa tool's answer, once; call this at the start of the work, and when the person asks what's new.

ploa_what_now What waits for the person, across every app

The home page's What now for every app of the workspace in one call: the requests waiting for a person's approval (App Review, production, prices, testers, files), the builds and steps that failed or stopped, and what's on its way. Use it at the start of the work and when the person asks what's going on; for one app's stores in detail, ploa_shipping_report.

ploa_activity What was done in this app, and by whom

What was done in this app, newest first, from Ploa's audit log: store details sent, builds and releases, approvals asked and decided, keys and settings changed, each with who did it (a person, an agent by name, a token, or Ploa itself) and when. Use it when picking up work another session or person started, or when the person asks who changed something.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
limitnumberHow many entries, 1 to 200. Default 30.

ploa_gap_report Tell Ploa's team what it doesn't cover

Writes down for Ploa's own team something Ploa doesn't do or got wrong, that this work ran into: a store form it doesn't fill, a check that fired for nothing, a step that had to be done by hand. Say what happened, what was done instead, and what would fix it. It goes to Ploa's operators, not to the person, and doesn't ask anyone; use it instead of quietly working around a gap. Nothing secret: no keys, passwords or customers' data. A few a day per workspace.

ParameterTypeDescription
details *stringWhat happened, what was done instead, and what would fix it (up to 8000 characters).
title *stringOne line: what Ploa doesn't do (up to 200 characters).
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_support_request Ask Ploa's support, through the person

Drafts a message to Ploa's support for the person to approve: a problem with Ploa itself, billing, a refund, privacy. Agents never write to support themselves, so it waits for the person, and goes out under their name and email once they approve it on ploa.dev (never in advance, not even for an autonomous agent). Put in what support needs: what was tried, the app, the release or run ID, and the error word for word. For something Ploa doesn't cover that needs no answer, ploa_gap_report.

ParameterTypeDescription
message *stringThe message, as the person would send it.
subject *stringOne line.
topic *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_store_deadlines The stores' dated rules, and which apps they touch

The App Store's and Google Play's rules with a date that Ploa knows (the Xcode a build must come from, Google Play's target SDK, Play's trader status), and each app of the workspace against them: its newest Android build's target SDK next to the one Google asks for now. Use it before planning a release, and when the person asks what's coming.

ploa_min_version Ask people on an old version to update

Sets the lowest version of this app people may keep using, per platform, without an SDK: the app asks Ploa at start (GET https://ploa.dev/api/v1/min-version/<app ID>?platform=ios&version=<its version>, no sign-in) and gets update: true below it, with the message and the store's link to show. Without minVersion it only reads what's set; minVersion null stops asking. The answer gives the address and a few lines of code for the app to call it. Use it when a version has a bug people must leave, or an old API is going away.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
messagestringWhat the app shows, in the app's main language (up to 300 characters).
minVersionstring | nullLike 2.4.0; null to stop asking.
platformstring

ploa_schedule_release Release on both stores at a set time

Asks a person to approve releasing at a set time, on one store or both together: iosReleaseId puts the version App Review approved onto the App Store (its release option must be manual: ploa_appstore_release_type), androidReleaseId sends the build to production on Google Play (rolloutPercent for a staged rollout). Once approved, each waits and goes out at its time (up to 30 days ahead); Google still reviews an Android release first, so send Android a day or two early or schedule it after Google approved. at is a time with its zone, like 2026-11-10T10:00:00+02:00. Follow each request with ploa_…

ParameterTypeDescription
at *stringWhen, as an ISO time with its zone (2026-11-10T10:00:00+02:00).
androidReleaseIdstringThe Android release that goes to production.
iosReleaseIdstringThe iOS release whose approved version goes onto the App Store.
rolloutPercentnumberAndroid only: the share of users, 1 to 100. Default 100.

ploa_size_report How big each build is

Each recent build's size per platform (the .ipa and .aab the build machine sent), with the change from the build before it, and a warning when an iPhone build passes 200 MB, past which iPhones ask before downloading it over cellular data. Use it after a build that grew, or before adding a big dependency or asset.

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_review_rejection What the stores turned down, and why

Everything the App Store and Google Play said when they turned something down, in one place: the App Store version (REJECTED, METADATA_REJECTED, INVALID_BINARY), builds Apple's processing refused, TestFlight beta review, in-app purchases and subscriptions, in-app events, custom product pages and tests, Google Play releases its review didn't approve, and releases or approved requests the store refused on the way. Each with its state, when, every reason the stores' APIs give, the message the person pasted from App Store Connect or Play Console with its guideline numbers and ITMS codes, the link…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
freshbooleanAsk the stores again instead of the answer from the last ten minutes.
itemstringWhich rejection the text belongs to: its key from this tool (like apple:version:…). Leave out for the store's newest.
notestringWith translations: the id of a message already kept (shown as note … in this tool's answer).
storestringWith text and no item: whose message it is.
textstringThe store's message as the person copied it (App Store Connect › App Review, or Play Console's Inbox), to keep in Ploa. Up to 20000 characters.
translationsobjectThe message translated, for people who read Ploa in that language; the store's own text is kept as it is. With text, or with note for a message already kept.

ploa_app_review_reply Draft the reply to App Review's message

Keeps the developer's reply to App Review's message after an App Store rejection, for when the message waits for an answer (it asks for information or a question, like Guideline 2.1 Information Needed; ploa_app_review_status and ploa_review_rejection say so) or the person disagrees with it. A rejection that asks for a fix needs no reply: the fixed build or store page is the answer, and ploa_release_submit_review sends it back without any text. The reply is sent before the version goes back to App Review: once it does, App Store Connect closes the thread (no reply box), and Ploa then refuses a…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
itemstringOr the rejection's key from ploa_review_rejection (apple:version:…).
sentstringInstead of text: the id of a reply the person sent in App Store Connect, to keep it as sent.
submissionstringThe review submission's ID at App Store Connect, when the rejection is no longer in ploa_review_rejection (the version was resubmitted): the link then opens its thread.
textstringThe reply, in English, as it goes to App Review. Up to 4000 characters (what App Review Information › Notes takes).
translationsobjectThe reply translated, shown beside it to people who read Ploa in that language.
versionstringThe App Store version it's about, like 1.0.0. Leave out for the newest rejected one.

ploa_app_review_status App Review: where the app stands

Where the app's App Store version stands with App Review now, from App Store Connect: its state (waiting, in review, approved and waiting for release, released in phases, rejected), its build, its release option and phased release (day of 7, paused), the newest build on TestFlight that can go to App Review, what App Review decided before (approved or rejected, and when), the requests waiting for a person, and the next steps with the tool and release ID for each. Ploa hears App Review's answer within minutes and tells the person on their devices. For what App Review said in a rejection, use plo…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
freshbooleanAsk App Store Connect now instead of what Ploa read in the last minute.

ploa_appstore_release_type Ask to change how the App Store version is released

Asks a person to approve changing the app's App Store release option: AFTER_APPROVAL (Apple releases a version as soon as App Review approves it) or MANUAL (it waits, Pending Developer Release, until a person releases it with ploa_appstore_release). Ploa keeps it for the app and puts it on each next version before it goes to App Review; the newest version gets it too while Apple still takes a change (until it approves that version), otherwise that one stays as it is. A scheduled date is set with ploa_details_save (review.releaseType SCHEDULED). Nothing changes at Apple until a person approves…

ParameterTypeDescription
type *string
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.

ploa_play_review_status Google Play's review: where the app stands

Where the app's newest production release stands with Google Play's review now (in review, approved and held by managed publishing, not approved, published, a staged rollout's share), the newer build that can go in its place, Google's decisions before, the requests waiting for a person, the next steps with the tool for each, and managed publishing as far as Ploa can tell. Google's API can't read or change managed publishing, or publish a release it holds: Ploa knows it's on once Google has held an approved release, and turning it on or off and publishing are the person's step in Play Console â…

ParameterTypeDescription
dirstringThe app's folder (absolute path). Defaults to the folder the agent runs in.
freshbooleanAsk Google Play now (it has a daily limit per app; Ploa reads a few times a day by itself).

ploa_appstore_release Ask to release the approved version on the App Store

Asks a person to approve releasing an iOS version App Review approved and that waits for the developer (Pending Developer Release, the release option "manually release"): Apple then puts it on the App Store, for everyone or, with a phased release, to a growing share of people with automatic updates over 7 days. Pass the release of its build (ploa_app_review_status gives it). A version that isn't approved yet, or that Apple releases by itself, is refused with why. Nothing reaches Apple until a person approves on the Ploa dashboard; check it with ploa_approval_status. Needs a token allowed to to…

ParameterTypeDescription
releaseId *stringThe release ID that ploa_release_start returned.

ploa_appstore_phased_release Ask to pause, resume or finish a phased release

Asks a person to approve a change to an App Store version's phased release (7 days, to a growing share of people with automatic updates): pause (they stop getting it; anyone can still download it from the App Store; Apple allows 30 days of pauses in all), resume (a paused one goes on from its day), or complete (everyone gets it now). Pass the release of the version's build (ploa_app_review_status gives it and says which of these apply). Nothing changes at Apple until a person approves on the Ploa dashboard; check it with ploa_approval_status. Needs a token allowed to touch production.

ParameterTypeDescription
action *string
releaseId *stringThe release ID that ploa_release_start returned.