ghl_clientportal_get_mobile_apk_build
Retrieves a mobile APK build's status and download link, letting you poll until the build finishes or fails and get the artifact URL when ready.
Instructions
CLIENT PORTAL AI BUILDER API (/ai-builder-api) — side-effecting: opens/edits sandboxes and starts builds. Edit a sandbox only once sandbox.status is ready; checkpoint after edits and before starting the run that builds them; 409 means a cloud build owns the sandbox or it is not running.
Get an APK build's status and download link.
Read it again until status is finished, when artifactUrl is a short-lived download link, or failed, when error says why.
Endpoint: GET /ai-builder-api/projects/{projectId}/app-config/apk-builds/{apkBuildId} (Version header: v3; source: v3/clientportal-ai-v3.json)
OAuth scopes: clientportal-ai.readonly
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The app's id. | |
| apkBuildId | Yes | The build's id, from the response that started it. |