Appian Deploymtstatus

Check the status of an Appian deployment by UUID and optionally download its artifacts (log, package ZIP). Use after appian-export or appian-deploy to monitor progress or retrieve results.

Appian Status

Retrieves the current status and artifact URLs for any Appian deployment using the v2 Deployment Management API. Supports optional polling and artifact download.

Usage

bash
node {baseDir}/scripts/index.js <deploymentUuid> [--wait] [--download-log] [--download-zip]
FlagDescription
--waitPoll until a terminal status is reached
--download-logSave the deployment log to ~/appian-exports/
--download-zipSave the package ZIP (export deployments only) to ~/appian-exports/

Examples

bash
# Check immediately
node {baseDir}/scripts/index.js 208d489c-6f74-45f7-a48a-f0887fefeca9

# Wait for completion and download log
node {baseDir}/scripts/index.js 208d489c-6f74-45f7-a48a-f0887fefeca9 --wait --download-log

External endpoints

  • GET ${APPIAN_BASE_URL}/deployments/{uuid} — fetches deployment status
  • Artifact URLs returned by the API (log, ZIP) — downloaded only when flags are passed

Security

  • Credentials (APPIAN_BASE_URL, APPIAN_API_KEY) are read from environment variables (injected by OpenClaw at runtime). If not injected, the script falls back to an appian.json file in the current working directory.
  • Artifacts are saved only to ~/appian-exports/ — nothing is uploaded or sent to third parties.
  • No shell commands are executed; all operations use Node.js built-in APIs.