# Phala - [What is Phala Cloud](https://docs.phala.com/phala-cloud/what-is/what-is-phala-cloud.md): Phala Cloud provides secure TEE-powered infrastructure for running AI applications with hardware-level privacy and verifiable execution. - [Quick Start](https://docs.phala.com/phala-cloud/getting-started/overview.md): Get started with Phala Cloud in minutes. Deploy your first TEE application and verify attestation proofs with this step-by-step quick start guide. - [Create Account](https://docs.phala.com/phala-cloud/getting-started/sign-up-for-cloud-account.md): Create your Phala Cloud account to start deploying confidential applications. - [CVM Deployment](https://docs.phala.com/phala-cloud/getting-started/start-from-cloud-ui.md): Deploy your first TEE application on Phala Cloud using the web UI. - [Deploy Your First CVM](https://docs.phala.com/phala-cloud/getting-started/deploy-first-cvm.md): Go from zero to a running Confidential VM on Phala Cloud using the Dashboard, CLI, or SDK. - [Explore Templates](https://docs.phala.com/phala-cloud/getting-started/explore-templates/overview.md): Deploy pre-built confidential applications on Phala Cloud using templates. - [Get and Verify Attestation](https://docs.phala.com/phala-cloud/getting-started/attestation.md): Get a TEE attestation report from your CVM and verify it step by step. - [Migration from dstack v0.3](https://docs.phala.com/phala-cloud/references/migration-from-dstack-v03.md): Complete migration guide from dstack OS v0.3.x to v0.5.x - [November 2026 KMS Migration: Recover Old Keys](https://docs.phala.com/phala-cloud/references/migration-to-new-kms.md): Recover keys derived before the November 2026 platform-wide KMS and CVM update - [CVM Overview](https://docs.phala.com/phala-cloud/cvm/overview.md): Landing page for CVM creation and management on Phala Cloud. Links to deployment methods, scaling, and lifecycle operations. - [CVM with Docker Compose](https://docs.phala.com/phala-cloud/cvm/create-with-docker-compose.md): Deploy a CVM from a docker-compose.yml file using the Phala Cloud dashboard. - [Environment Variables](https://docs.phala.com/phala-cloud/cvm/set-secure-environment-variables.md): Manage encrypted secrets and built-in environment variables for your CVM. - [Private Container Registry](https://docs.phala.com/phala-cloud/cvm/create-with-private-docker-image.md): Configure private container registry access for CVM deployments on Phala Cloud. - [Scale with Multiple Replicas](https://docs.phala.com/phala-cloud/cvm/multi-replica-scaling.md): Understand when replicas make sense, what you get from them, and where they fall short. For concrete replication steps, see Replicating CVMs. - [Replicating CVMs](https://docs.phala.com/phala-cloud/cvm/replicating-cvms.md): Scale an existing CVM by creating replicas on the same or different nodes. Covers the dashboard flow, the phala CLI, Cloud KMS, and Onchain KMS approval workflows. - [Launch Token](https://docs.phala.com/phala-cloud/cvm/launch-token.md): Require a secret token before a CVM can boot your app and get its keys, and learn what the token does and does not protect against. - [Advanced CVM Settings](https://docs.phala.com/phala-cloud/cvm/advanced-settings.md): Init scripts, ephemeral data disks, annotations, other runners and raw app-compose input for CVMs created or updated through the API. - [Ephemeral Data Disk](https://docs.phala.com/phala-cloud/cvm/ephemeral-data-disk.md): Give a CVM a clean data disk on every boot. Covers what is wiped, which versions you need, and how to turn the setting on and off. - [Deployment Cheat Sheet](https://docs.phala.com/phala-cloud/cvm/deployment-cheat-sheet.md): Common gotchas and quick fixes when deploying CVMs, including cross-architecture image builds and Docker log sizing. - [OS Image](https://docs.phala.com/phala-cloud/cvm/image/overview.md): Deploy confidential applications with dstack - a TEE-based infrastructure platform. - [Database](https://docs.phala.com/phala-cloud/storage/access-database.md): Deploy confidential applications with Phala Cloud's managed TEE infrastructure. - [Update Code](https://docs.phala.com/phala-cloud/update/upgrade-application.md): Seamless code updates in TEE - [Scaling](https://docs.phala.com/phala-cloud/update/resize-resource.md): Create and manage Confidential Virtual Machines (CVMs) on Phala Cloud. - [Update CVM Configuration](https://docs.phala.com/phala-cloud/update/update-cvm-configuration.md): Change a CVM's compose, environment, resources, OS image and gateway settings with one PATCH request, or stage several changes and apply them with one restart. - [Deploy AI Models in GPU TEE](https://docs.phala.com/phala-cloud/confidential-ai/gpu-tee-deployment-guide.md): End-to-end guide for deploying custom LLMs on GPU TEE with vLLM and accessing them via OpenAI-compatible API - [Deploy and Verify GPU TEE](https://docs.phala.com/phala-cloud/confidential-ai/confidential-gpu/deploy-and-verify.md): Deploy or fine-tune AI models with hardware-level security using TEE-protected GPUs and verify they run in genuine TEE hardware - [Troubleshooting](https://docs.phala.com/phala-cloud/confidential-ai/confidential-gpu/troubleshooting.md): Common issues and warnings when running GPU TEE workloads - [Benchmark](https://docs.phala.com/phala-cloud/confidential-ai/benchmark.md): Performance benchmarks and metrics for LLM inference in GPU TEE environments. - [GPU CVM FAQs](https://docs.phala.com/phala-cloud/confidential-ai/confidential-gpu/faqs.md): Frequently asked questions about GPU CVM workloads and the Private ML SDK. - [CLI Overview](https://docs.phala.com/phala-cloud/phala-cloud-cli/overview.md): Deploy and manage CVMs from your terminal - [Deploy Your First CVM](https://docs.phala.com/phala-cloud/phala-cloud-cli/start-from-cloud-cli.md): Deploy a Jupyter notebook to Phala Cloud and test TEE functions using the CLI - [phala.toml Configuration](https://docs.phala.com/phala-cloud/phala-cloud-cli/phala-toml.md): Project configuration file for the Phala Cloud CLI, defining default settings for CVM deployments and operations. - [Set Up a CI/CD Pipeline](https://docs.phala.com/phala-cloud/phala-cloud-cli/ci-cd-automation/setup-a-ci-cd-pipeline.md): Automate CVM deployments with GitHub Actions, GitLab CI, and Phala Cloud SDKs. - [Deploy with the GitHub Action](https://docs.phala.com/phala-cloud/phala-cloud-cli/ci-cd-automation/github-deploy-action.md): Update a CVM from GitHub Actions with the Phala deploy action, using phala.toml and an API key stored as a repository secret. - [deploy](https://docs.phala.com/phala-cloud/phala-cloud-cli/deploy.md): Deploy new CVM or update existing one - [instance-types](https://docs.phala.com/phala-cloud/phala-cloud-cli/instance-types.md): List available instance types - [nodes](https://docs.phala.com/phala-cloud/phala-cloud-cli/nodes.md): Manage TEE nodes - [nodes list](https://docs.phala.com/phala-cloud/phala-cloud-cli/nodes/list.md): List workspace nodes - [os-images](https://docs.phala.com/phala-cloud/phala-cloud-cli/os-images.md): List available OS images - [annotations](https://docs.phala.com/phala-cloud/phala-cloud-cli/annotations.md): Show or set CVM annotations: unmeasured key/value metadata for host-side tools - [cp](https://docs.phala.com/phala-cloud/phala-cloud-cli/cp.md): Copy files to/from a CVM via SCP - [logs](https://docs.phala.com/phala-cloud/phala-cloud-cli/logs.md): Fetch logs from a CVM - [ps](https://docs.phala.com/phala-cloud/phala-cloud-cli/ps.md): List containers of a CVM - [runtime-config](https://docs.phala.com/phala-cloud/phala-cloud-cli/runtime-config.md): Show the runtime configuration of a CVM - [ssh](https://docs.phala.com/phala-cloud/phala-cloud-cli/ssh.md): Connect to a CVM via SSH - [apps](https://docs.phala.com/phala-cloud/phala-cloud-cli/apps.md): List dstack apps - [apps launch-token](https://docs.phala.com/phala-cloud/phala-cloud-cli/apps/launch-token.md): Set, rotate or clear an app's launch token - [instances](https://docs.phala.com/phala-cloud/phala-cloud-cli/instances.md): Manage app instances - [instances ls](https://docs.phala.com/phala-cloud/phala-cloud-cli/instances/ls.md): List instances of an app - [instances add](https://docs.phala.com/phala-cloud/phala-cloud-cli/instances/add.md): Create a new instance under an existing app - [instances rm](https://docs.phala.com/phala-cloud/phala-cloud-cli/instances/rm.md): Delete one or more app instances by VM UUID - [cvms](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms.md): Manage CVMs - [cvms attestation](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/attestation.md): Get CVM attestation - [cvms delete](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/delete.md): Delete a CVM - [cvms device-allowlist](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/device-allowlist.md): Show device allowlist status for a CVM's app - [cvms get](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/get.md): Get details of a CVM - [cvms init-scripts](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/init-scripts.md): Show or change the platform init scripts a CVM runs - [cvms list](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/list.md): List CVMs - [cvms list-nodes](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/list-nodes.md): List worker nodes - [cvms logs (Deprecated)](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/logs.md): Fetch container logs from a CVM - [cvms replicate](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/replicate.md): Create a replica of an existing CVM - [cvms resize](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/resize.md): Resize resources for a CVM - [cvms restart](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/restart.md): Restart a CVM - [cvms serial-logs (Deprecated)](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/serial-logs.md): Fetch VM serial console logs from a CVM - [cvms start](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/start.md): Start a stopped CVM - [cvms stop](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/stop.md): Stop a running CVM - [cvms upgrade (Deprecated)](https://docs.phala.com/phala-cloud/phala-cloud-cli/cvms/upgrade.md): Upgrade a CVM to a new version (use "phala deploy" instead) - [envs](https://docs.phala.com/phala-cloud/phala-cloud-cli/envs.md): Encrypt and update CVM sealed environment variables - [envs encrypt](https://docs.phala.com/phala-cloud/phala-cloud-cli/envs/encrypt.md): Encrypt environment variables for a CVM (sealed, only readable inside TEE) - [envs update](https://docs.phala.com/phala-cloud/phala-cloud-cli/envs/update.md): Encrypt and push sealed environment variables to a CVM (only readable inside TEE) - [ssh-keys](https://docs.phala.com/phala-cloud/phala-cloud-cli/ssh-keys.md): Manage SSH keys - [ssh-keys list](https://docs.phala.com/phala-cloud/phala-cloud-cli/ssh-keys/list.md): List SSH keys for the current user - [ssh-keys add](https://docs.phala.com/phala-cloud/phala-cloud-cli/ssh-keys/add.md): Add a local SSH public key to your account - [ssh-keys remove](https://docs.phala.com/phala-cloud/phala-cloud-cli/ssh-keys/remove.md): Remove an SSH key from your account - [ssh-keys import-github](https://docs.phala.com/phala-cloud/phala-cloud-cli/ssh-keys/import-github.md): Import SSH keys from a GitHub user's public profile - [allow-devices](https://docs.phala.com/phala-cloud/phala-cloud-cli/allow-devices.md): Manage on-chain device allowlist for an app contract - [allow-devices list](https://docs.phala.com/phala-cloud/phala-cloud-cli/allow-devices/list.md): List allowed devices from the on-chain contract - [allow-devices add](https://docs.phala.com/phala-cloud/phala-cloud-cli/allow-devices/add.md): Add devices to the on-chain allowlist - [allow-devices remove](https://docs.phala.com/phala-cloud/phala-cloud-cli/allow-devices/remove.md): Remove devices from the on-chain allowlist - [allow-devices allow-any](https://docs.phala.com/phala-cloud/phala-cloud-cli/allow-devices/allow-any.md): Set the allow-any-device flag on the contract. Requires --enable or --disable. - [allow-devices disallow-any](https://docs.phala.com/phala-cloud/phala-cloud-cli/allow-devices/disallow-any.md): Disable allow-any-device on the contract. Equivalent to `allow-any --disable`. - [allow-devices toggle-allow-any](https://docs.phala.com/phala-cloud/phala-cloud-cli/allow-devices/toggle-allow-any.md): Toggle allow-any-device on the contract (or force via --enable/--disable) - [kms](https://docs.phala.com/phala-cloud/phala-cloud-cli/kms.md): Manage on-chain KMS contracts - [kms list](https://docs.phala.com/phala-cloud/phala-cloud-cli/kms/list.md): List KMS contracts - [kms nodes](https://docs.phala.com/phala-cloud/phala-cloud-cli/kms/nodes.md): List the KMS nodes (with RPC url) under a contract - [kms ethereum](https://docs.phala.com/phala-cloud/phala-cloud-cli/kms/ethereum.md): Show on-chain KMS details for ethereum - [kms base](https://docs.phala.com/phala-cloud/phala-cloud-cli/kms/base.md): Show on-chain KMS details for base - [kms phala](https://docs.phala.com/phala-cloud/phala-cloud-cli/kms/phala.md): Show the off-chain Phala KMS root keys - [login](https://docs.phala.com/phala-cloud/phala-cloud-cli/login.md): Authenticate with Phala Cloud - [logout](https://docs.phala.com/phala-cloud/phala-cloud-cli/logout.md): Remove stored API key - [profiles](https://docs.phala.com/phala-cloud/phala-cloud-cli/profiles.md): List auth profiles - [profiles use](https://docs.phala.com/phala-cloud/phala-cloud-cli/profiles/use.md): Switch to an auth profile - [profiles rename](https://docs.phala.com/phala-cloud/phala-cloud-cli/profiles/rename.md): Rename an auth profile - [profiles delete](https://docs.phala.com/phala-cloud/phala-cloud-cli/profiles/delete.md): Delete an auth profile - [status](https://docs.phala.com/phala-cloud/phala-cloud-cli/status.md): Check authentication status - [switch](https://docs.phala.com/phala-cloud/phala-cloud-cli/switch.md): Switch auth profiles - [whoami](https://docs.phala.com/phala-cloud/phala-cloud-cli/whoami.md): Print the current user - [link](https://docs.phala.com/phala-cloud/phala-cloud-cli/link.md): Link a local directory to a CVM - [api](https://docs.phala.com/phala-cloud/phala-cloud-cli/api.md): Make an authenticated HTTP request to Phala Cloud API. - [simulator](https://docs.phala.com/phala-cloud/phala-cloud-cli/simulator.md): TEE simulator commands - [simulator start](https://docs.phala.com/phala-cloud/phala-cloud-cli/simulator/start.md): Start the TEE simulator - [simulator stop](https://docs.phala.com/phala-cloud/phala-cloud-cli/simulator/stop.md): Stop the TEE simulator - [keccak256sum](https://docs.phala.com/phala-cloud/phala-cloud-cli/keccak256sum.md): Compute or verify keccak256 checksums of hex inputs - [phala completion](https://docs.phala.com/phala-cloud/phala-cloud-cli/completion.md): Generate shell completion scripts for bash, zsh, or fish. - [self](https://docs.phala.com/phala-cloud/phala-cloud-cli/self.md): CLI self-management - [self update](https://docs.phala.com/phala-cloud/phala-cloud-cli/self/update.md): Update the Phala CLI - [Changelog](https://docs.phala.com/phala-cloud/phala-cloud-cli/changelog.md): Release history for the Phala Cloud CLI - [auth (Deprecated)](https://docs.phala.com/phala-cloud/phala-cloud-cli/auth.md): Authenticate with Phala Cloud - [auth login (Deprecated)](https://docs.phala.com/phala-cloud/phala-cloud-cli/auth/login.md): Authenticate with Phala Cloud (use 'phala login' instead) - [auth logout (Deprecated)](https://docs.phala.com/phala-cloud/phala-cloud-cli/auth/logout.md): Remove stored API key (use 'phala logout' instead) - [auth status (Deprecated)](https://docs.phala.com/phala-cloud/phala-cloud-cli/auth/status.md): Check auth status (use 'phala status' instead) - [config (Deprecated)](https://docs.phala.com/phala-cloud/phala-cloud-cli/config.md): Manage local CLI state - [config get](https://docs.phala.com/phala-cloud/phala-cloud-cli/config/get.md): Get a configuration value - [config list](https://docs.phala.com/phala-cloud/phala-cloud-cli/config/list.md): List config values - [config set](https://docs.phala.com/phala-cloud/phala-cloud-cli/config/set.md): Set a configuration value - [Overview](https://docs.phala.com/phala-cloud/networking/overview.md): Automatic HTTPS endpoints for your containers with zero configuration - [Quickstart](https://docs.phala.com/phala-cloud/networking/quickstart.md): Deploy a service with public HTTPS access in under 5 minutes - [Expose an HTTP Service](https://docs.phala.com/phala-cloud/networking/expose-http-service.md): Step-by-step guide to expose HTTP services with automatic HTTPS - [Set Up a Custom Domain](https://docs.phala.com/phala-cloud/networking/setup-custom-domain.md): Use your own domain with HTTPS certificates that only your app can hold - [Expose TCP Services](https://docs.phala.com/phala-cloud/networking/expose-tcp-service.md): Expose TCP services like databases with automatic TLS encryption - [Gateway Port Policy](https://docs.phala.com/phala-cloud/networking/gateway-port-policy.md): Control which CVM guest ports the gateway forwards and which receive PROXY protocol headers - [Guest Agent Access](https://docs.phala.com/phala-cloud/networking/guest-agent-access.md): Choose who can reach the guest agent on port 8090 of your app - [Enable SSH Access](https://docs.phala.com/phala-cloud/networking/enable-ssh-access.md): Connect to your CVM via SSH for debugging and management - [TLS Passthrough](https://docs.phala.com/phala-cloud/networking/tls-passthrough.md): Set up end-to-end encryption with TLS passthrough for databases and custom protocols - [Set Up gRPC Services](https://docs.phala.com/phala-cloud/networking/setup-grpc-service.md): Deploy gRPC services with HTTP/2 and automatic TLS - [Architecture](https://docs.phala.com/phala-cloud/networking/architecture.md): Understanding how Phala Cloud routes and secures your network traffic - [Network Security](https://docs.phala.com/phala-cloud/networking/security.md): How Phala Cloud keeps your network traffic private even from the cloud provider - [Domain Attestation](https://docs.phala.com/phala-cloud/networking/domain-attestation.md): How to verify your data privacy when connecting to TEE applications - [Reference](https://docs.phala.com/phala-cloud/networking/specifications.md): Quick lookup for URL patterns, environment variables, and configuration parameters - [Troubleshooting](https://docs.phala.com/phala-cloud/networking/troubleshooting.md): Diagnosing and fixing common networking issues - [What is KMS](https://docs.phala.com/phala-cloud/key-management/key-management-protocol.md): Technical design documents and architecture details for the dstack TEE platform. - [Cloud vs Onchain KMS](https://docs.phala.com/phala-cloud/key-management/cloud-vs-onchain-kms.md): Choose between centralized Cloud KMS or blockchain-governed Onchain KMS for your dstack application. - [Understanding Onchain KMS](https://docs.phala.com/phala-cloud/key-management/understanding-onchain-kms.md): The mental model behind Onchain KMS — which contracts exist, who signs what, and how the KMS verifies your CVM at boot time. - [Deploying with Onchain KMS](https://docs.phala.com/phala-cloud/key-management/deploying-with-onchain-kms.md): Deploy a dstack CVM whose authorization is governed by a smart contract on Ethereum or Base, using either the Phala Cloud dashboard or the phala CLI. - [Updating with Onchain KMS](https://docs.phala.com/phala-cloud/key-management/updating-with-onchain-kms.md): Roll a new compose file to a running Onchain KMS CVM when the DstackApp owner is a plain wallet you control. - [Device Management](https://docs.phala.com/phala-cloud/key-management/device-management.md): Manage which physical nodes can run your Onchain KMS app by controlling the on-chain device allowlist. - [Multisig and Governance](https://docs.phala.com/phala-cloud/key-management/multisig-governance.md): Run production Onchain KMS apps with Safe, Timelock, or DAO ownership using the prepare and commit flow. - [Get a Deterministic Key](https://docs.phala.com/phala-cloud/key-management/get-a-key.md): Generate deterministic keys for cryptographic operations in Phala Cloud - [Create Crypto Wallets](https://docs.phala.com/phala-cloud/key-management/create-crypto-wallet.md): Generate blockchain wallets with deterministic keys in Phala Cloud - [Trust Center Verification](https://docs.phala.com/phala-cloud/attestation/trust-center-verification.md): Automated verification reports for every Phala Cloud deployment with the Trust Center platform - [Become a Featured Builder](https://docs.phala.com/phala-cloud/attestation/feature-builder.md): How to become a Featured Builder on Trust Center and showcase your verified application - [Overview](https://docs.phala.com/phala-cloud/attestation/overview.md): Learn how attestation proves your CVM runs unmodified code in genuine TEE hardware. - [Quickstart](https://docs.phala.com/phala-cloud/attestation/quickstart.md): Get your first attestation proof using the dashboard. - [Get Attestation](https://docs.phala.com/phala-cloud/attestation/get-attestation.md): Learn how to get CVM attestation on Phala Cloud using dashboard or dstack SDK. - [Verify Your Application](https://docs.phala.com/phala-cloud/attestation/verify-your-application.md): Prove your exact Docker containers run unmodified in the TEE. - [Verify the Platform](https://docs.phala.com/phala-cloud/attestation/verify-the-platform.md): Verify Phala's infrastructure integrity end-to-end. - [End-to-End Attestation Verification](https://docs.phala.com/phala-cloud/attestation/verification-guide.md): Fetch, verify, and integrate CVM attestation into your workflow — end-to-end with working code - [Complete Chain of Trust](https://docs.phala.com/phala-cloud/attestation/chain-of-trust.md): Complete security checklist ensuring no verification gaps exist. - [Attestation Fields Reference](https://docs.phala.com/phala-cloud/attestation/attestation-fields.md): Reference guide for Intel TDX attestation quote fields and their meanings. - [Compliance & Certifications](https://docs.phala.com/phala-cloud/security-and-privacy/compliance.md): Security compliance certifications, controls, and data processing practices for Phala Cloud - [Security Audit Report](https://docs.phala.com/phala-cloud/security-and-privacy/security-audit.md): Independent third-party security audit of Phala Cloud's underlying dstack infrastructure by zkSecurity - [Security Architecture](https://docs.phala.com/phala-cloud/security-and-privacy/security-architecture.md): Security features and remote attestation capabilities of Phala Cloud TEE. - [Vulnerability Management](https://docs.phala.com/phala-cloud/security-and-privacy/vulnerability-management.md): How Phala Cloud classifies, prioritises and remediates vulnerabilities across hosts, guest images, containers and application dependencies. - [Privacy](https://docs.phala.com/phala-cloud/security-and-privacy/privacy.md): Phala Cloud privacy policy covering data collection, usage, and protection practices for TEE-powered confidential computing services. - [Public Logs](https://docs.phala.com/phala-cloud/monitoring/public-logs.md): View Docker container logs and control access to their public URLs. - [Serial Logs](https://docs.phala.com/phala-cloud/monitoring/serials-logs.md): View CVM boot and QEMU logs from the Phala Cloud dashboard. - [Fetch Logs over HTTP](https://docs.phala.com/phala-cloud/monitoring/log-api.md): Fetch CVM serial, node, and container logs over HTTP from scripts and monitoring tools. - [Private Log Viewer](https://docs.phala.com/phala-cloud/monitoring/private-log-viewer.md): Secure your Docker container logs with password-protected access using Dozzle. - [Datadog Integration](https://docs.phala.com/phala-cloud/monitoring/datadog-integration.md): Integrate Datadog with your CVM for metrics, logs, and alerting using a zero-code-change sidecar approach. - [Troubleshooting Guide](https://docs.phala.com/phala-cloud/troubleshooting/troubleshooting.md): Common issues and solutions for Phala Cloud deployments. - [Private Log Viewer](https://docs.phala.com/phala-cloud/troubleshooting/private-log-viewer.md): Create and manage Confidential Virtual Machines (CVMs) on Phala Cloud. - [Debug Application](https://docs.phala.com/phala-cloud/troubleshooting/debug-your-application.md): Access your CVM for debugging and troubleshooting. - [Production Checklist](https://docs.phala.com/phala-cloud/production-checklist.md): Production checklist for launch. - [Performance Report](https://docs.phala.com/phala-cloud/references/performance-report.md): Comprehensive performance analysis of Phala Cloud's TEE infrastructure. - [Overview](https://docs.phala.com/phala-cloud/references/overview.md): Reference documentation for Phala Cloud — Cloud JS SDK, CLI, API error codes, and performance benchmarks. - [API Overview](https://docs.phala.com/phala-cloud/phala-cloud-api/overview.md): Deploy confidential applications with Phala Cloud's managed TEE infrastructure. - [Attestation API Reference](https://docs.phala.com/phala-cloud/phala-cloud-api/attestations.md): Complete API reference for Phala Cloud's remote attestation service. Covers all endpoints, parameters, schemas, and integration patterns for Intel SGX and TDX quote verification. - [CVM Deployment via API](https://docs.phala.com/phala-cloud/references/api-deployment-guide.md): Overview of deploying Confidential Virtual Machines programmatically using the Phala Cloud REST API or SDKs. - [List apps](https://docs.phala.com/api-reference/apps/list-apps.md): Returns paginated app list with filtering. Response schema varies by API version. - [Get app filter options](https://docs.phala.com/api-reference/apps/get-app-filter-options.md): Returns distinct values for each filterable field based on user's apps. - [Get app details](https://docs.phala.com/api-reference/apps/get-app-details.md): Returns app metadata and current CVM configuration. Response schema varies by API version. - [Get app attestation data](https://docs.phala.com/api-reference/apps/get-app-attestation-data.md): Returns TEE attestation quotes, event logs, and KMS configuration only for running CVMs that opted into public TCB info. - [Run app TCB evaluation](https://docs.phala.com/api-reference/apps/run-app-tcb-evaluation.md): Runs a live Intel PCS TCB evaluation only for running CVMs that opted into public TCB info. - [List app CVMs](https://docs.phala.com/api-reference/apps/list-app-cvms.md): Returns CVM instances for an app. Admins see all instances; users see only their own. - [Batch check on-chain deployment allowance for all CVMs under an app](https://docs.phala.com/api-reference/apps/batch-check-on-chain-deployment-allowance-for-all-cvms-under-an-app.md) - [Create CVM replica](https://docs.phala.com/api-reference/apps/create-cvm-replica.md): Clones a CVM to a target node. Uses source node if target not specified. - [Create a new instance under an existing app](https://docs.phala.com/api-reference/apps/create-a-new-instance-under-an-existing-app.md): Deploy a new CVM instance under an existing app, optionally with a new Docker Compose file. For on-chain KMS apps, this uses a two-phase flow: the first request returns HTTP 465 with a commit token; after registering the compose hash on-chain, the second request commits with the token and transactio… - [Get device allowlist status](https://docs.phala.com/api-reference/apps/get-device-allowlist-status.md): Returns the device_id allowlist status for an app's CVMs. For on-chain KMS apps, queries the blockchain in real-time to check which devices are registered in the app contract. - [Check if app deployment is allowed on-chain](https://docs.phala.com/api-reference/apps/check-if-app-deployment-is-allowed-on-chain.md) - [Set or rotate the app launch token](https://docs.phala.com/api-reference/apps/set-or-rotate-the-app-launch-token.md): Sets the app's launch token, generating one when the body omits it, and returns the plaintext and its hash once. CVMs keep booting with their current compose: update each CVM's requirements.launch_token_hash to the returned hash before its next boot, or it fails closed. Phala Cloud and the node oper… - [Clear the app launch token](https://docs.phala.com/api-reference/apps/clear-the-app-launch-token.md): Removes the app's launch token. Remove requirements.launch_token_hash from every CVM of the app first: a CVM whose compose still carries it fails closed at its next boot. Repeating the call changes nothing. - [Get app on-chain KMS info](https://docs.phala.com/api-reference/apps/get-app-on-chain-kms-info.md): Returns on-chain KMS metadata for an app: chain, KMS contract, app contract, deployer address, and deployer type detection (EOA, Safe multisig, legacy multisig, ERC-4337, or generic contract). - [Get pending compose updates](https://docs.phala.com/api-reference/apps/get-pending-compose-updates.md): Returns provisioned compose file updates that have been signed on-chain but not yet applied to CVMs. - [Preview a pending compose update](https://docs.phala.com/api-reference/apps/preview-a-pending-compose-update.md): Returns current and pending docker compose file and pre-launch script for diffing before applying an update. - [List app revisions](https://docs.phala.com/api-reference/apps/list-app-revisions.md): Returns deployment history with compose hashes, operation types, and user refs. - [Get revision detail](https://docs.phala.com/api-reference/apps/get-revision-detail.md): Returns full revision data including compose file, encrypted env, and user config. - [Redeploy app from a specific revision](https://docs.phala.com/api-reference/apps/redeploy-app-from-a-specific-revision.md): Redeploy a CVM to a specific revision. If the app has exactly one CVM, it will be redeployed by default. If the app has multiple CVMs, you must specify target vm_uuids in request body. Does not change encrypted env unless encrypted_env is supplied. A mismatch between allowed_envs and the last env wr… - [Get app metered usage](https://docs.phala.com/api-reference/apps/get-app-metered-usage.md): Returns billing usage records from ClickHouse. Defaults to 7-day window if dates not specified. - [Create CVM (two-phase on one path)](https://docs.phala.com/api-reference/cvms/create-cvm-two-phase-on-one-path.md): Single entry point for CVM creation. Send a provision payload (compose_file + name) to prepare: validates the configuration, caches it for 14 days, and returns app_id, compose_hash, the env-encryption pubkey, and a commit token. Then send the token back with the encrypted environment to create the C… - [List CVMs](https://docs.phala.com/api-reference/cvms/list-cvms.md): Returns CVMs in current workspace. - [List CVMs (paginated)](https://docs.phala.com/api-reference/cvms/list-cvms-paginated.md): Returns paginated CVMs in current workspace with total count. - [Batch stop CVMs](https://docs.phala.com/api-reference/cvms/batch-stop-cvms.md): Force stop multiple CVMs at once. Non-admin users can only stop CVMs in their current workspace. Admin users can stop any CVM. Max 50 per request. - [Batch refresh CVM instance IDs](https://docs.phala.com/api-reference/cvms/batch-refresh-cvm-instance-ids.md): Resolves and persists missing instance_id values. Admin can pass cross-workspace CVM IDs. - [Handle Batch Cvm Status](https://docs.phala.com/api-reference/user/handle-batch-cvm-status.md): Batch query CVM real-time status. - [Get CVM details](https://docs.phala.com/api-reference/cvms/get-cvm-details.md): Returns full CVM details including status, network info, and KMS configuration. - [Delete CVM](https://docs.phala.com/api-reference/cvms/delete-cvm.md): Stops and permanently deletes CVM. Data is not recoverable. - [Update CVM](https://docs.phala.com/api-reference/cvms/update-cvm.md): Unified PATCH endpoint for CVM updates. Only fields present in the request body are applied. Handles resource resize, compose configuration, visibility, environment, and OS image updates. For contract-owned KMS, compose-hash-affecting changes require two-phase flow with on-chain hash registration. - [Get CVM annotations](https://docs.phala.com/api-reference/cvms/get-cvm-annotations.md): Returns the annotations the node's VMM stores for this CVM. Annotations are opaque key/value metadata for host-side tooling, such as a QEMU wrapper that reads the VM manifest. The dstack VMM stores them with the VM. They are not passed to the guest, not measured, and not part of the compose hash, so… - [Replace CVM annotations](https://docs.phala.com/api-reference/cvms/replace-cvm-annotations.md): Replaces every annotation of this CVM; an empty object clears them. The VMM applies the change at once, without a restart and without a compose change. Host tools that read annotations only when QEMU launches (for example memory tiers or vCPU pinning) see the new values after the CVM restarts. Other… - [Get CVM attestation](https://docs.phala.com/https:/cloud.phala.network/api-reference/cvms/get-cvms-cvm_id-attestation.md): Returns TEE attestation data including TCB info, app certificates and the certificate chain. Requires workspace READ on the CVM. - [List available OS images](https://docs.phala.com/api-reference/cvms/list-available-os-images.md): Returns OS images this CVM can upgrade to, filtered by node availability, KMS allowlist, dev/prod upgrade rules, and GPU compatibility. - [Commit CVM replica (token-based, no auth required)](https://docs.phala.com/api-reference/cvms/commit-cvm-replica-token-based-no-auth-required.md): Completes a two-phase CVM replication using a one-time commit token. The token was generated during a prepare-only or hash-required replica request. - [Get commit token info (no auth required)](https://docs.phala.com/api-reference/cvms/get-commit-token-info-no-auth-required.md): Read-only lookup of commit token metadata for the confirm-update page. - [Commit CVM update (token-based, no auth required)](https://docs.phala.com/api-reference/cvms/commit-cvm-update-token-based-no-auth-required.md): Completes a two-phase CVM update using a one-time commit token. The token was generated during a prepare-only PATCH request. No workspace authentication is required — the commit token is the credential. - [Get raw compose file](https://docs.phala.com/api-reference/cvms/get-raw-compose-file.md): Returns the complete compose file as JSON or raw text based on query param. - [Trigger compose file update](https://docs.phala.com/api-reference/cvms/trigger-compose-file-update.md): Applies a provisioned compose file update. Requires compose_hash from provision endpoint. Restarts the CVM with new configuration. - [Submit compose file update](https://docs.phala.com/api-reference/cvms/submit-compose-file-update.md): Submit complete compose file with hash verification. Use when you have pre-computed compose_hash and want to skip provision step. - [Provision compose file update](https://docs.phala.com/api-reference/cvms/provision-compose-file-update.md): Validates new compose file and returns compose_hash for on-chain registration. Cache expires after 14 days. - [Diagnose custom domain DNS](https://docs.phala.com/api-reference/cvms/diagnose-custom-domain-dns.md): Verify DNS records for custom domain configuration. Checks CNAME pointing to CVM, TXT records for app verification, and CAA records. - [Update Docker Compose file](https://docs.phala.com/api-reference/cvms/update-docker-compose-file.md): Replaces the docker-compose.yml and restarts the CVM. For contract-owned KMS, requires two-phase flow with on-chain hash registration. - [Get staged CVM changes](https://docs.phala.com/api-reference/cvms/get-staged-cvm-changes.md): Returns the CVM's staged changes, who staged each one, and the compose hash applying them produces. - [Stage CVM changes](https://docs.phala.com/api-reference/cvms/stage-cvm-changes.md): Adds an update to the CVM's staged changes without restarting it. The body is the PATCH /cvms/{cvm_id} body. Applying runs the staged compose changes in order on the CVM's compose; other fields take the last staged value. Scripts this change sends are reviewed as the draft would leave them. The firs… - [Discard staged CVM changes](https://docs.phala.com/api-reference/cvms/discard-staged-cvm-changes.md) - [Apply staged CVM changes](https://docs.phala.com/api-reference/cvms/apply-staged-cvm-changes.md): Applies every staged change as one PATCH /cvms/{cvm_id}: one VMM update and at most one restart; a stopped CVM stays stopped. Rejected with ERR-03-053 when the CVM's compose changed since the first change was staged. Accepts the same X-Compose-Hash, X-Transaction-Hash and X-Prepare-Only headers and… - [Get Docker Compose file](https://docs.phala.com/api-reference/cvms/get-docker-compose-file.md): Returns the raw Docker Compose YAML content. Served from teepod when the CVM is live; falls back to the latest stored revision (marked via X-Compose-Source) for deleted CVMs or when teepod is unreachable — enables admin audit of past deployments. - [Update environment variables](https://docs.phala.com/api-reference/cvms/update-environment-variables.md): Updates encrypted environment variables. If env_keys changes for contract-owned KMS, requires two-phase flow with on-chain hash registration. - [Get firewall availability for this CVM's node](https://docs.phala.com/api-reference/cvms/get-firewall-availability-for-this-cvms-node.md): Checks teescope capabilities.firewall on the node hosting this CVM. - [Get CVM init scripts](https://docs.phala.com/api-reference/cvms/get-cvm-init-scripts.md): Lists the platform init scripts (docker_cleanup, env_merge) in their fixed run order: whether the CVM's current compose runs each one, and whether the caller could select it for this CVM, with the reason when not. docker_cleanup needs OS 0.6.x, ext4 storage and the docker-compose runner; env_merge n… - [Refresh CVM instance ID](https://docs.phala.com/api-reference/cvms/refresh-cvm-instance-id.md): Resolve and persist instance_id for a CVM. Default behavior only backfills missing values. - [Set Trust Center listing for the app](https://docs.phala.com/api-reference/cvms/set-trust-center-listing-for-the-app.md): Trust Center listing is per app. The flag is written to every non-deleted CVM of the app's project, so toggling it here applies to the whole app, and Trust Center re-indexes the app. - [Handle Update Cvm Name](https://docs.phala.com/api-reference/cvms/handle-update-cvm-name.md): Update CVM name with RFC 1123 validation and availability check - [Get CVM network info](https://docs.phala.com/api-reference/cvms/get-cvm-network-info.md): Returns gateway status (internal IP, handshake time, public URLs) and the three network layers: gateway ingress from the compose (ingress), direct port mappings (port_mappings, as GET /ports) and the KMS/gateway URLs updates send (endpoints). - [Get network configuration](https://docs.phala.com/api-reference/cvms/get-network-configuration.md): Returns real-time KMS URLs, Gateway URLs, and port mappings from VMM. - [Update KMS/Gateway URLs](https://docs.phala.com/api-reference/cvms/update-kmsgateway-urls.md): Update KMS and/or Gateway URLs for this CVM. Requires VMM >= 0.5.7. The URLs are kept: later compose and configuration updates send them instead of the KMS cluster's. An empty list removes that override; moving the CVM to another node removes both. - [Get operation status](https://docs.phala.com/api-reference/cvms/get-operation-status.md): Returns current in-progress operation details including Celery task status. - [List CVM operations](https://docs.phala.com/api-reference/cvms/list-cvm-operations.md): Returns operation records grouped by correlation_id. Only includes events with correlation_id (new format since 2024-01). Error messages are sanitized for non-admin users. - [Cancel in-progress CVM operation](https://docs.phala.com/api-reference/cvms/cancel-in-progress-cvm-operation.md): Cancel the current in-progress operation for a CVM. Revokes the Celery task and clears the operation lock. - [Update OS image](https://docs.phala.com/api-reference/cvms/update-os-image.md): Upgrades the CVM to a different OS image. Shuts down, updates, and restarts. Takes several minutes. Track progress via correlation_id. - [Get port mappings](https://docs.phala.com/api-reference/cvms/get-port-mappings.md): Returns persisted port mappings for this CVM. - [Set port mappings](https://docs.phala.com/api-reference/cvms/set-port-mappings.md): Bulk-replace all port mappings for this CVM. Admins with two-factor authentication enabled may specify host_port within the node's managed range; other callers cannot pin ports. Omitted or null host_port keeps an existing allocation or randomly allocates a new one. User-NIC port changes require rest… - [Get pre-launch script](https://docs.phala.com/api-reference/cvms/get-pre-launch-script.md): Returns the shell script that runs before containers start. Served from teepod when the CVM is live; falls back to the latest stored revision (marked via X-Compose-Source) for deleted CVMs or when teepod is unreachable. - [Update pre-launch script](https://docs.phala.com/api-reference/cvms/update-pre-launch-script.md): Replaces the pre-launch script and restarts the CVM. For contract-owned KMS, requires two-phase flow with on-chain hash registration. - [Replicate CVM](https://docs.phala.com/api-reference/cvms/replicate-cvm.md): Create a replica of the CVM on a target node. If request body is omitted, it replicates to the source node and reuses existing env. - [Restart CVM](https://docs.phala.com/api-reference/cvms/restart-cvm.md): Stops and starts CVM. Use force=true to skip graceful shutdown. - [Redeploy CVM from a specific revision](https://docs.phala.com/api-reference/cvms/redeploy-cvm-from-a-specific-revision.md): Switch/rollback a CVM to a specified app revision (compose_hash). Does not change encrypted env unless encrypted_env is supplied. A mismatch between allowed_envs and the last env write is rejected unless encrypted_env is supplied or allow_env_mismatch is true. - [Handle Update Cvm Scheduled Delete](https://docs.phala.com/api-reference/cvms/handle-update-cvm-scheduled-delete.md): Update CVM scheduled delete time - [Shutdown CVM](https://docs.phala.com/api-reference/cvms/shutdown-cvm.md): Gracefully shuts down CVM (SIGTERM then SIGKILL after timeout). Triggers billing. - [Start CVM](https://docs.phala.com/api-reference/cvms/start-cvm.md): Powers on a stopped CVM. GPU allocation happens during start. - [Handle Get Cvm State](https://docs.phala.com/api-reference/cvms/handle-get-cvm-state.md): Get CVM state. Supports two modes: - [Get CVM system stats](https://docs.phala.com/api-reference/cvms/get-cvm-system-stats.md): Returns live system metrics (CPU, memory, disk) from the running CVM. - [Force stop CVM](https://docs.phala.com/api-reference/cvms/force-stop-cvm.md): Immediately stops CVM (like pulling power). Cancels any in-progress operation. Triggers billing. - [Get CVM user config](https://docs.phala.com/api-reference/cvms/get-cvm-user-config.md): Returns the user_config stored in Teepod for this CVM, including injected SSH keys. launch_token is the app's launch token when the CVM's compose requires one. - [Verify TEE quote](https://docs.phala.com/https:/cloud.phala.network/api-reference/public/post-attestations-verify.md): Accepts quote as file upload, form hex, or JSON hex. 0x prefix handled automatically. - [View quote details](https://docs.phala.com/https:/cloud.phala.network/api-reference/public/get-attestations-view-checksum.md): Public endpoint. Returns parsed quote data with verification status. - [Get quote collateral](https://docs.phala.com/https:/cloud.phala.network/api-reference/public/get-attestations-collateral-checksum.md): Returns TCB collateral data for quote verification. Cached for 24 hours. - [Download raw quote](https://docs.phala.com/https:/cloud.phala.network/api-reference/public/get-attestations-raw-checksum.md): Returns raw quote bytes as binary file attachment. - [Check raw quote exists](https://docs.phala.com/https:/cloud.phala.network/api-reference/public/head-attestations-raw-checksum.md): Returns headers without body. Use to check existence and get Content-Length. - [List recent quotes](https://docs.phala.com/https:/cloud.phala.network/api-reference/public/get-attestations-recent.md): Public endpoint. Returns recently uploaded quotes ordered by timestamp. - [List nodes](https://docs.phala.com/https:/cloud.phala.network/api-reference/public/get-attestations-nodes.md): Public endpoint. Returns NodeRef list derived from nodes table (excluding deleted). - [List node device IDs](https://docs.phala.com/https:/cloud.phala.network/api-reference/public/get-attestations-device_ids.md): Public endpoint. Returns device_id list from nodes table (excluding deleted). - [List node PPIDs](https://docs.phala.com/https:/cloud.phala.network/api-reference/public/get-attestations-ppids.md): Public endpoint. Returns PPID list from nodes table (excluding deleted). - [List KMS contracts](https://docs.phala.com/api-reference/public/list-kms-contracts.md): List available KMS contracts (API >= 2026-06-23). Older versions return the legacy paginated KMS node list. - [Get KMS contract details](https://docs.phala.com/api-reference/public/get-kms-contract-details.md): Get a KMS contract by slug (API >= 2026-06-23). Older versions return a single KMS node by hashed id or slug. - [Inspect KMS instance](https://docs.phala.com/api-reference/public/inspect-kms-instance.md): Real-time inspection of a KMS instance. Queries KMS RPC, guest agent, associated Teepod VMMs, and on-chain contract data with cross-validation. - [Get app encryption pubkey](https://docs.phala.com/api-reference/public/get-app-encryption-pubkey.md): Retrieve the public key for encrypting environment variables before deployment. - [Get on-chain KMS details by chain](https://docs.phala.com/api-reference/public/get-on-chain-kms-details-by-chain.md): Returns KMS contracts on the specified chain with device and OS image whitelist status. - [Predict next app IDs](https://docs.phala.com/api-reference/kms/predict-next-app-ids.md): Predict the next N app IDs that will be assigned to the team's wallet. Maximum 20 predictions allowed. - [List user SSH keys](https://docs.phala.com/api-reference/user/list-user-ssh-keys.md): Returns all SSH keys belonging to the authenticated user. - [Add SSH key](https://docs.phala.com/api-reference/user/add-ssh-key.md): Validates and stores an SSH public key. Minimum RSA 2048-bit, Ed25519 recommended. - [Delete SSH key](https://docs.phala.com/api-reference/user/delete-ssh-key.md): Soft-deletes an SSH key. Key must belong to the authenticated user. - [Import keys from GitHub profile](https://docs.phala.com/api-reference/user/import-keys-from-github-profile.md): Fetches public SSH keys from any GitHub user's profile via the unauthenticated GitHub API. Deduplicates against the user's existing keys by fingerprint. - [Sync keys from GitHub](https://docs.phala.com/api-reference/user/sync-keys-from-github.md): Imports SSH keys from linked GitHub account. Adds new keys, updates existing, removes deleted. - [List instance type families](https://docs.phala.com/api-reference/public/list-instance-type-families.md): Public endpoint. Returns all families with their public instance types grouped. - [List family instance types](https://docs.phala.com/api-reference/public/list-family-instance-types.md): Public endpoint. Returns all public instance types for a specific family. - [List workspace webhooks](https://docs.phala.com/api-reference/webhooks/list-workspace-webhooks.md) - [Create workspace webhook](https://docs.phala.com/api-reference/webhooks/create-workspace-webhook.md) - [Get webhook details](https://docs.phala.com/api-reference/webhooks/get-webhook-details.md) - [Update webhook](https://docs.phala.com/api-reference/webhooks/update-webhook.md) - [Delete webhook](https://docs.phala.com/api-reference/webhooks/delete-webhook.md) - [Reveal webhook secret (requires 2FA)](https://docs.phala.com/api-reference/webhooks/reveal-webhook-secret-requires-2fa.md) - [Rotate webhook secret (requires 2FA)](https://docs.phala.com/api-reference/webhooks/rotate-webhook-secret-requires-2fa.md) - [Send test webhook event](https://docs.phala.com/api-reference/webhooks/send-test-webhook-event.md) - [List webhook deliveries](https://docs.phala.com/api-reference/webhooks/list-webhook-deliveries.md) - [Resend a webhook delivery](https://docs.phala.com/api-reference/webhooks/resend-a-webhook-delivery.md) - [Get webhook delivery stats](https://docs.phala.com/api-reference/webhooks/get-webhook-delivery-stats.md) - [Cloud JS SDK](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/overview.md): JavaScript/TypeScript SDK for Phala Cloud API — manage CVMs, deployments, and resources programmatically. - [Authentication](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/authentication.md): User authentication functions in the Cloud JS SDK - [CVM Lifecycle](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/cvm-lifecycle.md): Functions for starting, stopping, restarting, and deleting CVMs - [CVM Configuration](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/cvm-configuration.md): Functions for updating CVM resources, visibility, OS images, and compose files - [CVM Query](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/cvm-query.md): Functions for querying CVM information, state, and metrics - [provisionCvm](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/provision-cvm.md): Provision a new CVM — first phase of the two-phase deployment flow - [commitCvmProvision](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/commit-cvm-provision.md): Commit a CVM provision — second phase of the two-phase deployment flow - [updateCvmEnvs](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/update-cvm-envs.md): Update encrypted environment variables for a CVM - [updateDockerCompose](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/update-docker-compose.md): Update the Docker Compose configuration for a CVM - [watchCvmState](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/watch-cvm-state.md): Watch CVM state changes via Server-Sent Events until a target status is reached - [Apps](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/apps.md): Functions for querying app information, CVMs, and revision history - [Workspaces](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/workspaces.md): Functions for querying workspace information, nodes, and quotas - [KMS](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/kms.md): List KMS contracts, inspect their nodes and verification anchors, and retrieve app encryption keys. - [SSH Keys](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/ssh-keys.md): Functions for managing SSH keys used for CVM access - [Nodes & Instance Types](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/nodes-and-instance-types.md): Functions for querying available TEE nodes and instance type configurations - [getAppEnvEncryptPubKey](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/get-app-env-encrypt-pubkey.md): Retrieve the KMS-managed encryption public key for encrypting environment variables - [deployAppAuth](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/deploy-app-auth.md): Deploy an AppAuth smart contract for on-chain KMS - [addComposeHash](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/add-compose-hash.md): Register a compose hash on-chain for CVM updates with on-chain KMS - [Schema Reference](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/schema-reference.md): Zod schema definitions for Phala Cloud API responses — CVM info, user info, and pagination schemas across API versions. - [Error Handling](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/error-handling.md): Error classes, safe methods, and error formatting utilities in the Phala Cloud JS SDK. - [API Versioning](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/api-versioning.md): Supported Phala Cloud API versions, the current default, and version-specific TypeScript response types. - [Changelog](https://docs.phala.com/phala-cloud/references/cloud-js-sdk/changelog.md): Release history for the @phala/cloud JavaScript SDK - [Cloud Python SDK](https://docs.phala.com/phala-cloud/references/cloud-python-sdk/overview.md): Python SDK for Phala Cloud API — sync and async clients with Pydantic validation, safe error handling, and REPL-friendly design. - [Authentication](https://docs.phala.com/phala-cloud/references/cloud-python-sdk/authentication.md): Configure API key, bearer, and workspace authentication for the Phala Cloud Python SDK. - [CVM Lifecycle](https://docs.phala.com/phala-cloud/references/cloud-python-sdk/cvm-lifecycle.md): Provision, start, stop, restart, delete, and replicate CVMs using the Python SDK. - [CVM Configuration](https://docs.phala.com/phala-cloud/references/cloud-python-sdk/cvm-configuration.md): Update Docker Compose files, environment variables, resources, visibility, and OS images on running CVMs. - [Apps](https://docs.phala.com/phala-cloud/references/cloud-python-sdk/apps.md): List apps, retrieve app details, query revision history, and manage device allowlists. - [Workspaces](https://docs.phala.com/phala-cloud/references/cloud-python-sdk/workspaces.md): List workspaces, get workspace details, query nodes, and check quotas. - [KMS](https://docs.phala.com/phala-cloud/references/cloud-python-sdk/kms.md): List KMS contracts, inspect their nodes and verification anchors, and retrieve app encryption keys. - [SSH Keys](https://docs.phala.com/phala-cloud/references/cloud-python-sdk/ssh-keys.md): List, create, delete SSH keys and import them from GitHub. - [Error Handling](https://docs.phala.com/phala-cloud/references/cloud-python-sdk/error-handling.md): Error hierarchy, safe methods, and structured error codes in the Phala Cloud Python SDK. - [Changelog](https://docs.phala.com/phala-cloud/references/cloud-python-sdk/changelog.md): Version history for the Phala Cloud Python SDK. - [Cloud Go SDK](https://docs.phala.com/phala-cloud/references/cloud-go-sdk/overview.md): Go client for the Phala Cloud API — manage CVMs, deployments, and infrastructure programmatically. - [Authentication](https://docs.phala.com/phala-cloud/references/cloud-go-sdk/authentication.md): Configure API key authentication, environment variables, and custom headers for the Go SDK. - [CVM Lifecycle](https://docs.phala.com/phala-cloud/references/cloud-go-sdk/cvm-lifecycle.md): Provision, start, stop, restart, delete, and replicate CVMs with the Go SDK. - [CVM Configuration](https://docs.phala.com/phala-cloud/references/cloud-go-sdk/cvm-configuration.md): Update Docker Compose, pre-launch scripts, resources, visibility, environment variables, and OS images for CVMs. - [Watch CVM State](https://docs.phala.com/phala-cloud/references/cloud-go-sdk/watch-cvm-state.md): Monitor CVM state changes in real-time using Server-Sent Events (SSE) with Go channels. - [Apps](https://docs.phala.com/phala-cloud/references/cloud-go-sdk/apps.md): List applications, query app details, revisions, attestations, and device allowlists. - [Workspaces](https://docs.phala.com/phala-cloud/references/cloud-go-sdk/workspaces.md): List workspaces, get workspace details, nodes, and quotas. - [KMS](https://docs.phala.com/phala-cloud/references/cloud-go-sdk/kms.md): List KMS contracts, inspect their nodes and verification anchors, and retrieve app encryption keys. - [SSH Keys](https://docs.phala.com/phala-cloud/references/cloud-go-sdk/ssh-keys.md): Manage SSH keys for CVM access — list, create, delete, and import from GitHub. - [Error Handling](https://docs.phala.com/phala-cloud/references/cloud-go-sdk/error-handling.md): APIError struct, error classification methods, retry logic, and structured error codes in the Go SDK. - [Changelog](https://docs.phala.com/phala-cloud/references/cloud-go-sdk/changelog.md): Version history and release notes for the Phala Cloud Go SDK. - [Terraform Provider](https://docs.phala.com/phala-cloud/references/terraform-provider/overview.md): Deploy confidential apps on Phala Cloud with Terraform — install, configure, and deploy your first CVM in minutes. - [phala_app Resource](https://docs.phala.com/phala-cloud/references/terraform-provider/app-resource.md): Reference for the phala_app resource — deploy and manage Phala Cloud apps with Docker Compose, environment variables, replicas, and CVM lifecycle. - [phala_cvm_power Resource](https://docs.phala.com/phala-cloud/references/terraform-provider/cvm-power.md): Reference for the phala_cvm_power resource — manage CVM power state (running/stopped) without recreating the parent app. - [phala_ssh_key Resource](https://docs.phala.com/phala-cloud/references/terraform-provider/ssh-key.md): Reference for the phala_ssh_key resource — manage account-level SSH keys on Phala Cloud. - [Data Sources](https://docs.phala.com/phala-cloud/references/terraform-provider/data-sources.md): Reference for all Phala Cloud Terraform data sources — discover account info, sizes, regions, images, nodes, and attestation data. - [Examples](https://docs.phala.com/phala-cloud/references/terraform-provider/examples.md): Common Terraform patterns for Phala Cloud — basic deployments, multi-replica, cross-app wiring, GPU, SSH access, and power management. - [Changelog](https://docs.phala.com/phala-cloud/references/terraform-provider/changelog.md): Version history for the Phala Cloud Terraform provider — new features, breaking changes, and bug fixes. - [Error Codes](https://docs.phala.com/phala-cloud/references/error-codes.md): Reference for Phala Cloud API error codes - [Webhooks](https://docs.phala.com/phala-cloud/references/webhooks.md): Receive real-time HTTP notifications for CVM lifecycle events - [Overview](https://docs.phala.com/phala-cloud/cases/overview.md): Explore real-world applications and use cases for TEE technology. - [Building confidential AI](https://docs.phala.com/phala-cloud/cases/tee_with_ai.md): Build confidential AI applications with Trusted Execution Environment technology. - [2FA for FHE/MPC Systems](https://docs.phala.com/phala-cloud/cases/tee_with_fhe_and_mpc.md): Combine TEE with FHE and MPC for enhanced privacy-preserving computations. - [Private Proving with TEE](https://docs.phala.com/phala-cloud/cases/tee_with_zk_and_zkrollup.md): Private Proving - Running ZK provers inside TEE to protect sensitive data during proof generation. - [Cases Explorer](https://docs.phala.com/phala-cloud/cases/best-practices-and-successful-case.md): Explore real-world use cases showing how Phala Cloud enables secure, verifiable AI and trustless applications using TEE technology. - [FAQ](https://docs.phala.com/phala-cloud/faqs.md): Deploy confidential applications with Phala Cloud's managed TEE infrastructure. - [Get Support](https://docs.phala.com/phala-cloud/support.md): Get your questions answered - [Overview](https://docs.phala.com/phala-cloud/confidential-ai/overview.md): Use Phala's TEE-only inference API and verify the gateway, response receipts, and upstream evidence. - [How Private AI works](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/how-it-works.md): The two proof layers and request flow behind Phala's TEE-only inference API. - [On-demand API](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/confidential-ai-api.md): Make your first OpenAI-compatible Private AI request through Phala, then confirm it was served through an attested gateway. - [Playground](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/playground.md): Learn how to use Open-WebUI to play with Private AI models - [Migration and Integrations](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/migration-and-integrations.md): Migrate from OpenAI or OpenRouter and connect SDKs, observability tools, and gateways. - [Anthropic SDK](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/anthropic-sdk.md): Use the official Anthropic Python or TypeScript SDK with Phala's Messages API. - [OpenAI SDK](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/integrations/openai-sdk.md): Use Phala through the OpenAI SDK, with optional local ACI verification on Node and Bun. - [Agent frameworks](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/integrations/agent-frameworks.md): Run CrewAI, PydanticAI, or the OpenAI Agents SDK on Phala through the Chat Completions API. - [Vercel AI SDK](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/integrations/vercel-ai-sdk.md): Generate and stream Phala responses in TypeScript applications. - [Langfuse](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/integrations/langfuse.md): Trace Phala API calls with Langfuse and an explicit data boundary. - [Use in Agents](https://docs.phala.com/phala-cloud/confidential-ai/agents/overview.md): Connect coding agents to Private AI through Private AI Proxy, or configure an OpenAI-compatible endpoint directly. - [Private AI Proxy](https://docs.phala.com/phala-cloud/confidential-ai/agents/private-ai-proxy.md): The desktop app and CLI that verifies the Phala gateway on your machine and connects your agents to a verified local API. - [Claude Code](https://docs.phala.com/phala-cloud/confidential-ai/agents/claude-code.md): Run Claude Code on Phala through Private AI Proxy, or configure it by hand. - [Codex CLI](https://docs.phala.com/phala-cloud/confidential-ai/agents/codex.md): Run Codex CLI on Phala through Private AI Proxy, or configure it by hand. - [OpenCode](https://docs.phala.com/phala-cloud/confidential-ai/agents/opencode.md): Run OpenCode on Phala through Private AI Proxy, or configure it by hand. - [Pi](https://docs.phala.com/phala-cloud/confidential-ai/agents/pi.md): Run Pi on Phala through Private AI Proxy, or configure it by hand. - [Hermes](https://docs.phala.com/phala-cloud/confidential-ai/agents/hermes.md): Run Hermes Agent on Phala through Private AI Proxy, or configure it by hand. - [OpenClaw](https://docs.phala.com/phala-cloud/confidential-ai/agents/openclaw.md): Run OpenClaw on Phala through Private AI Proxy, or configure it by hand. - [Cline](https://docs.phala.com/phala-cloud/confidential-ai/agents/cline.md): Run Cline on Private AI through Private AI Proxy, or configure it by hand. - [Other Tools](https://docs.phala.com/phala-cloud/confidential-ai/agents/other-tools.md): Connect coding assistants and chat apps to Private AI with your Phala API key. - [Overview](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/api-reference/overview.md): Base URL, authentication, and the full list of API endpoints. - [Chat Completions](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/api-reference/chat-completions.md): Create OpenAI-compatible chat completion responses with Private AI models. - [Responses](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/api-reference/responses.md): Create a model response using the Responses API format through the attested Private AI gateway. - [Messages](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/api-reference/messages.md): Create a model response using the Anthropic Messages API format through the attested Private AI gateway. - [Completions](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/api-reference/completions.md): Create a legacy text completion through the attested Private AI gateway. - [Images](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/api-reference/images.md): Generate images with inline base64 output and per-image billing through the attested gateway. - [Audio Transcription](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/api-reference/audio.md): Transcribe audio with multipart uploads and billing per started second through the attested gateway. - [System One](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/api-reference/systemone.md): Ask a model typed questions about a state and get structured decisions. - [List Models](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/api-reference/models.md): List available Private AI models, modalities, context windows, and pricing metadata. - [Attestation report](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/api-reference/attestation.md): The gateway TEE attestation report, bound to a caller-supplied nonce. - [Receipt](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/api-reference/receipts.md): The signed receipt for a response, with the full transparency event log. - [Session](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/api-reference/sessions.md): The immutable attested-session record behind a confidential response. - [Embeddings](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/api-reference/embeddings.md): Create vector embeddings with OpenAI-compatible embedding models. - [Tool Calling](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/tool-calling.md): Quick guide for how to tool calling (or function calling) of Private AI API. - [Images and Vision](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/images-and-vision.md): Learn how to use images and vision models in Private AI. - [Structured Output](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/structured-output.md): Learn how to use structured output in Private AI - [Reasoning](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/reasoning.md): Control how much a model thinks before it answers, and whether the reasoning text is returned. - [Prompt caching](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/prompt-caching.md): Providers that cache a repeated prompt prefix report cached tokens in usage, and Phala bills them at the model's cache rate. - [Streaming](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/streaming.md): Learn how to use streaming in Private AI API - [Attested Routing](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/attested-routing.md): Restrict a request to an upstream the gateway verified inside the TEE, and pin it to a specific attested channel. - [Endpoint policy](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/endpoint-policy.md): The model catalog and verified-serving constraints enforced at inference.phala.com. - [Zero Data Retention](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/zero-data-retention.md): Restrict requests to serving routes that do not retain prompt or completion content, and list models that support that constraint. - [Error Handling](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/error-handling.md): Handle Private AI API errors, retries, unsupported parameters, and upstream failures. - [Overview](https://docs.phala.com/phala-cloud/confidential-ai/verify/overview.md): Verify Phala gateway attestation, pinned TLS, signed receipts, and upstream evidence. - [TypeScript ACI Verifier](https://docs.phala.com/phala-cloud/confidential-ai/verify/typescript-sdk.md): Use the official TypeScript SDK to verify Phala Private AI attestation, pin the TLS channel, and audit signed response receipts. - [Attestation](https://docs.phala.com/phala-cloud/confidential-ai/verify/verify-attestation.md): Verify the Phala gateway's TDX evidence, nonce-bound keyset, expiry, and measured compose. - [Verify a Response](https://docs.phala.com/phala-cloud/confidential-ai/verify/verify-signature.md): Verify a Phala response with a pinned client transport, signed receipt, and cited upstream session. - [Receipts and Sessions](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/receipts-and-sessions.md): Learn how per-response receipts and attested sessions prove what happened to a Private AI request. - [Trust Boundary](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/trust-boundary.md): Understand Phala's attested gateway, provider evidence coverage, and where plaintext exists. - [Verified upstreams](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/verified-upstreams.md): How the gateway verifies a confidential provider before forwarding: the channel binding it enforces, the attested session it records, and the typed claims you read. - [Provider Verification](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/providers.md): Understand the evidence and channel bindings for each provider in Phala's live catalog. - [End-to-End Encryption](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/e2ee-encryption.md): Field-level encryption to an attested gateway key, supported endpoints, and receipt hashing. - [Encrypt a request](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/e2ee-guide.md): Send field-level encrypted requests using Phala’s attested gateway key. - [Compliance and Open Source](https://docs.phala.com/phala-cloud/confidential-ai/confidential-model/compliance-and-open-source.md): Understand the technical controls, source provenance, and audit evidence behind Private AI. - [FAQ](https://docs.phala.com/phala-cloud/confidential-ai/faqs.md): Common questions about the platform's attestation, receipts, confidential models, routing constraints, logging, and trust boundary. - [Overview](https://docs.phala.com/dstack/overview.md): Deploy confidential applications with dstack — a TEE-based infrastructure platform. - [Getting Started](https://docs.phala.com/dstack/getting-started.md): Set up and deploy your first confidential application using dstack TEE infrastructure. - [dstack Security Audit](https://docs.phala.com/dstack/security-audit.md): Third-party security audit of dstack by zkSecurity covering system architecture, TEE integration, and production hardening - [Trust Center Technical Documentation](https://docs.phala.com/dstack/trust-center-technical.md): Technical architecture and API reference for Trust Center verification system - [Local Development Guide](https://docs.phala.com/dstack/local-development.md): Deploy confidential applications with dstack - a TEE-based infrastructure platform. - [Hardware Requirements](https://docs.phala.com/dstack/hardware-requirements.md): Hardware requirements and specifications for running dstack TEE infrastructure. - [Whitepaper](https://docs.phala.com/dstack/design-documents/whitepaper.md): Technical design documents and architecture details for the dstack TEE platform. - [Decentralized Root-of-Trust](https://docs.phala.com/dstack/design-documents/decentralized-root-of-trust.md): Technical design documents and architecture details for the dstack TEE platform. - [Key Management Service](https://docs.phala.com/dstack/design-documents/key-management-protocol.md): Technical design documents and architecture details for the dstack TEE platform. - [TEE-Controlled Domain Certificates](https://docs.phala.com/dstack/design-documents/tee-controlled-domain-certificates.md): Technical design documents and architecture details for the dstack TEE platform. - [Acknowledgement](https://docs.phala.com/dstack/acknowledgement.md): Deploy confidential applications with dstack — a TEE-based infrastructure platform. - [Media Kit](https://docs.phala.com/dstack/media-kit.md): Download official dstack logos, brand assets, and media resources - [FAQs](https://docs.phala.com/dstack/faqs.md): Deploy confidential applications with dstack — a TEE-based infrastructure platform. - [dstack-cloud Overview](https://docs.phala.com/dstack-cloud/overview.md): dstack-cloud is an extension of the dstack framework that enables deploying confidential Docker applications on GCP Confidential VMs and AWS Nitro Enclaves. - [Quick Start: Deploy Your First dstack App on GCP](https://docs.phala.com/dstack-cloud/get-started.md): Quick start tutorial to deploy your first dstack CVM on GCP in 15-25 minutes. - [KMS and Key Delivery](https://docs.phala.com/dstack-cloud/kms-and-key-delivery.md): Understand KMS operating modes, key delivery flow, and GCP vs Nitro differences in dstack-cloud deployments. - [AWS Nitro Enclave Integration](https://docs.phala.com/dstack-cloud/nitro-enclave.md): How AWS Nitro Enclaves work with dstack-cloud, including EIF, VSOCK proxy, and key architectural differences from GCP. - [Attestation Integration](https://docs.phala.com/dstack-cloud/attestation-integration.md): How dstack-cloud integrates remote attestation mechanisms on GCP (TDX Quote) and AWS Nitro (NSM Attestation Document). - [On-chain Governance Model](https://docs.phala.com/dstack-cloud/governance.md): The on-chain governance model using Multisig + Timelock to control KMS authorization and prevent covert upgrades. - [Threat Model and Security Guarantees](https://docs.phala.com/dstack-cloud/security-model.md): Trust boundaries, threat categories, security guarantees, and residual risks for dstack-cloud deployments. - [Run a Workload on GCP](https://docs.phala.com/dstack-cloud/run-on-gcp.md): Step-by-step guide to deploy a Docker application as a dstack CVM on GCP with Intel TDX. - [Run a Workload on AWS Nitro](https://docs.phala.com/dstack-cloud/run-on-nitro.md): Step-by-step guide to deploy a Docker application as a Nitro Enclave on AWS. - [Run a dstack-kms CVM on GCP](https://docs.phala.com/dstack-cloud/run-kms-on-gcp.md): Deploy a dstack-kms (Key Management Service) instance on GCP as a Confidential VM with on-chain governance. - [Deploy On-chain KMS Smart Contracts](https://docs.phala.com/dstack-cloud/deploy-onchain-kms.md): Deploy DstackKms smart contracts and configure governance with Multisig and Timelock. - [Register Workload Measurements On-chain](https://docs.phala.com/dstack-cloud/register-enclave-measurement.md): Register workload measurements (OS_IMAGE_HASH / RTMR) on-chain for KMS authorization. - [Governance Operations](https://docs.phala.com/dstack-cloud/manage-governance.md): Create governance proposals, manage Multisig signing, and execute Timelock transactions. - [Monitoring and Alerting](https://docs.phala.com/dstack-cloud/monitoring-alerting.md): Set up monitoring, alerting, and dashboards for dstack-cloud deployments. - [Upgrade Procedures](https://docs.phala.com/dstack-cloud/upgrade.md): Upgrade procedures for KMS images, CVM applications, and smart contracts. - [Troubleshooting Runbook](https://docs.phala.com/dstack-cloud/runbook.md): Troubleshooting runbook for common dstack-cloud deployment issues. - [API Reference](https://docs.phala.com/dstack-cloud/api-reference.md): API reference for Guest Agent (Unix Socket), KMS Onboard API, and management endpoints. - [Configuration Reference](https://docs.phala.com/dstack-cloud/configuration.md): Configuration reference for dstack-cloud global config, app.json, docker-compose.yaml, and CLI commands. - [Glossary](https://docs.phala.com/dstack-cloud/glossary.md): Glossary of core terminology used in dstack-cloud documentation. - [Code Walkthrough and KT Materials](https://docs.phala.com/dstack-cloud/code-walkthrough.md): Code walkthrough and knowledge transfer materials for the dstack-cloud project. - [E2E Test Report](https://docs.phala.com/dstack-cloud/e2e-test-report.md): End-to-end test report covering test coverage and pre-production validation results. - [Release Notes](https://docs.phala.com/dstack-cloud/release-notes.md): Release notes, version history, compatibility notes, and known issues. - [Phala Network Overview](https://docs.phala.com/network/index.md): Build confidential, verifiable, and decentralized applications with Phala Network's TEE technology. - [Phala Network](https://docs.phala.com/network/overview/phala-network.md): Overview of Phala Network's decentralized computing infrastructure and features. - [Acquiring PHA](https://docs.phala.com/network/overview/get-pha-and-transfer.md): Reference documentation and resources for Phala Network development. - [Block Explorers](https://docs.phala.com/network/overview/block-explorers.md): Support resources, endpoints, and compatibility information for Phala Network. - [phala staking](https://docs.phala.com/network/overview/phala-staking.md): Stake PHA tokens to earn rewards and support network governance. - [Phala Treasury](https://docs.phala.com/network/overview/phala-treasury.md): Participate in Phala Network governance using PHA tokens and democratic processes. - [Phala Governance](https://docs.phala.com/network/overview/phala-governance.md): Participate in Phala Network governance using PHA tokens and democratic processes. - [Introduction](https://docs.phala.com/network/compute-providers/introduction.md): Essential information for becoming a compute provider on Phala Network(ETH L2). - [Phala GPU Mining Deployment Guide (H100 / H200 / B200)](https://docs.phala.com/network/compute-providers/run-GPU-on-phala/gpu-deployment-guide.md): Deploy and manage worker nodes to provide computing power on Phala Network. - [Register Your GPU Worker On-Chain and Start Earning Rewards](https://docs.phala.com/network/compute-providers/run-GPU-on-phala/register-work-onchain.md): How to Register Your GPU Worker On-Chain and Start Earning Rewards: - [Baseline report pr162](https://docs.phala.com/.doc-review/baseline-report-pr162.md) - [Doc requirements](https://docs.phala.com/doc-requirements.md) - [Overview](https://docs.phala.com/index.md): Official documentation for Phala Cloud - deploy AI applications with hardware-level privacy, TEE security, and verifiable computation. Get started with confidential computing today. - [Core Concepts Refresher](https://docs.phala.com/phala-cloud/getting-started/core-concepts-refresher.md): Key building blocks of Phala Cloud — CVMs, key management, and GPU TEE. - [Deploy ERC-8004 Agent in 5 Minutes](https://docs.phala.com/phala-cloud/getting-started/explore-templates/deploy-erc-8004-agent.md): Deploy a verifiable ERC-8004 Trustless Agent using Phala Cloud's VibeVM with TEE attestation - [Eliza Agent](https://docs.phala.com/phala-cloud/getting-started/explore-templates/launch-an-eliza-agent.md): Quick guide for launching Eliza Agent on Phala Cloud - [NextJS & Python](https://docs.phala.com/phala-cloud/getting-started/explore-templates/start-from-template.md): Get started quickly with Next.js and Python templates on Phala Cloud. - [What is a Trusted Execution Environment (TEE)?](https://docs.phala.com/phala-cloud/what-is/what-is-tee.md): Learn how Trusted Execution Environments provide hardware-level security for confidential computing, protecting your code and data from unauthorized access. - [README mintlify](https://docs.phala.com/README_mintlify.md) ## OpenAPI Specs - [openapi](/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.