Skip to main content
Infrastructure/OTA Versions & Policies

ListPreflightResults

List Preflight Results

GET/api/v1/ota/plans/{planId}/preflight/history

Operation ID

ListPreflightResults

Since

1.0.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

Path Parameters

  • planId
    StringRequired

    ID of the upgrade plan to list preflight history for

Query Parameters

  • pageSize
    Integer

    Maximum number of preflight results to return

    Example: 0

Responses

200 OK
200 OK

On success, this API returns the following response structure.

  • items
    List

    Collection of result items

    Example: (nested array)

    • planId
      String

      ID of the upgrade plan this preflight result covers

      Example: plan-a1b2c3d4-e5f6-7890-abcd-ef1234567890

    • mode
      String

      Mode used for this preflight run

      Example: strict

    • totalAgents
      Integer

      Total number of agents evaluated during preflight

      Example: 20

    • healthyAgents
      Integer

      Number of agents that passed all preflight checks

      Example: 19

    • unhealthyAgents
      Integer

      Number of agents that failed one or more preflight checks

      Example: 1

    • healthyPct
      Long

      Percentage of agents that passed preflight checks

      Example: 95

    • decision
      String

      Gate decision based on the configured minimum healthy percentage

      Example: proceed

    • excludedAgentIds
      List

      Excluded agent ids

      Example: item1,item2

    • agentResults
      List

      Agent results

      Example: (nested array)

      • agentId
        String

        ID of the agent this preflight result belongs to

        Example: lca-node01.example.com

      • agentName
        String

        Display name of the agent node

        Example: node01

      • healthy
        Boolean

        Whether this agent passed all preflight checks

        Example: true

      • checkResults
        LinkedHashMap

        Preflight check result entries

        Example: (nested object)

      • failReasons
        List

        Fail reasons

        Example: item1,item2

    • checkedAt
      String

      Checked at

      Example: 2026-01-15T08:00:00Z

    • durationMs
      String

      Duration of the preflight run in milliseconds

      Example: 4800

  • total
    Integer

    Total number of preflight results for this plan

    Example: 5

  • limit
    Integer

    Maximum number of items returned per page

    Example: 10

  • offset
    Integer

    Number of items skipped before the current page

    Example: 20