> ## Documentation Index
> Fetch the complete documentation index at: https://docs.phala.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get pending compose updates

> Returns provisioned compose file updates that have been signed on-chain but not yet applied to CVMs.



## OpenAPI

````yaml /openapi.json get /api/v1/apps/{app_id}/pending-updates
openapi: 3.1.0
info:
  title: Phala Cloud API
  version: 0.1.0
servers:
  - url: https://cloud-api.phala.com
security: []
tags:
  - name: CVMs
    description: Confidential Virtual Machine (CVM) lifecycle management on Phala Network
  - name: Apps
    description: App template management and CVM deployment from app blueprints
  - name: Webhooks
    description: Manage webhook endpoints and monitor delivery history
  - name: SSH Keys
    description: SSH public key management for CVM access
  - name: KMS
    description: >-
      Key Management Service — key derivation, on-chain anchoring, and
      inspection
  - name: Instance Types
    description: Available hardware configurations for CVM deployment
  - name: Attestations
    description: Remote attestation and TEE verification endpoints
paths:
  /api/v1/apps/{app_id}/pending-updates:
    get:
      tags:
        - Apps
        - apps-pending-updates
      summary: Get pending compose updates
      description: >-
        Returns provisioned compose file updates that have been signed on-chain
        but not yet applied to CVMs.
      operationId: get_pending_updates_api_v1_apps__app_id__pending_updates_get
      parameters:
        - name: app_id
          in: path
          required: true
          schema:
            type: string
            title: App Id
            description: Hex app identifier
          description: Hex app identifier
      responses:
        '200':
          description: Pending updates list
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PendingUpdatesResponse'
        '401':
          description: Not authenticated
        '404':
          description: App not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PendingUpdatesResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/PendingUpdateItem'
          type: array
          title: Items
          default: []
      type: object
      title: PendingUpdatesResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    PendingUpdateItem:
      properties:
        vm_uuid:
          type: string
          title: Vm Uuid
        compose_hash:
          type: string
          title: Compose Hash
        on_chain:
          type: boolean
          title: On Chain
        instance_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Instance Name
      type: object
      required:
        - vm_uuid
        - compose_hash
        - on_chain
      title: PendingUpdateItem
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````