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

# Get Upgrade Preflight

> Report whether this API can replace its own container, and what it would cost.

Read-only and never raises: a daemon that cannot be reached, a container that cannot
be placed and a registry that cannot be read are all reported as can_upgrade false
with a blocked_reason, because the caller of a destructive action needs a reason far
more than it needs a 500.

Returns:
    Dictionary with image_ref, current_digest, available_digest, up_to_date, the
    pinning verdict (pinned / pinned_reason / override_file), the compose project,
    working dir and config files, running_executors and running_bots, and
    can_upgrade with its blocked_reason (None only when the upgrade may be started).



## OpenAPI

````yaml /api-reference/openapi.json get /system/upgrade/preflight
openapi: 3.1.0
info:
  title: Hummingbot API
  description: API for managing Hummingbot trading instances
  version: 1.0.1
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /system/upgrade/preflight:
    get:
      tags:
        - System
      summary: Get Upgrade Preflight
      description: >-
        Report whether this API can replace its own container, and what it would
        cost.


        Read-only and never raises: a daemon that cannot be reached, a container
        that cannot

        be placed and a registry that cannot be read are all reported as
        can_upgrade false

        with a blocked_reason, because the caller of a destructive action needs
        a reason far

        more than it needs a 500.


        Returns:
            Dictionary with image_ref, current_digest, available_digest, up_to_date, the
            pinning verdict (pinned / pinned_reason / override_file), the compose project,
            working dir and config files, running_executors and running_bots, and
            can_upgrade with its blocked_reason (None only when the upgrade may be started).
      operationId: get_upgrade_preflight_system_upgrade_preflight_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
        - HTTPBasic: []
components:
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.