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

# Upgrade all installed marketplace plugins

> Move every installed plugin onto its latest COMPATIBLE version in one
lock-held batch, answering ``{"results": [{ref, outcome, detail}, ...]}``.

Per-ref failures (including a ref with NO compatible version) are report
entries, never a batch abort — the ONE operation-level failure is the
fleet marketplace lock being held elsewhere (the retriable 503). See
:meth:`Installer.upgrade_all` for the outcome vocabulary.



## OpenAPI

````yaml /openapi.json post /api/marketplace/upgrade-all
openapi: 3.1.0
info:
  description: The operator HTTP surface served under /api/*.
  title: tai42-skeleton API
  version: 0.3.1
servers: []
security: []
paths:
  /api/marketplace/upgrade-all:
    post:
      tags:
        - marketplace
      summary: Upgrade all installed marketplace plugins
      description: >-
        Move every installed plugin onto its latest COMPATIBLE version in one

        lock-held batch, answering ``{"results": [{ref, outcome, detail},
        ...]}``.


        Per-ref failures (including a ref with NO compatible version) are report

        entries, never a batch abort — the ONE operation-level failure is the

        fleet marketplace lock being held elsewhere (the retriable 503). See

        :meth:`Installer.upgrade_all` for the outcome vocabulary.
      operationId: post_api_marketplace_upgrade_all
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  data: {}
                required:
                  - data
                type: object
          description: Success.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Missing or invalid api key.
        '503':
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/ReloadingError'
                  - $ref: '#/components/schemas/Error'
          description: >-
            The server is applying a config reload, or a dependency this route
            needs is temporarily unavailable; retry shortly.
          headers:
            Retry-After:
              description: >-
                Seconds to wait before retrying; carried by the reloading
                answer.
              schema:
                type: integer
      security:
        - ApiKeyAuth: []
components:
  schemas:
    Error:
      properties:
        error:
          type: string
      required:
        - error
      type: object
    ReloadingError:
      properties:
        error:
          const: reloading — the server is applying a config reload; retry shortly
          type: string
        reloading:
          const: true
          type: boolean
      required:
        - error
        - reloading
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````