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

application/json

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

    {"format":"int32"}

Responses

200 OK

A successful response.

Content-Type: application/json

Response body root type: object

  • items
    List

    Collection of result items

    • 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

      {"format":"int32"}

    • healthyAgents
      Integer

      Number of agents that passed all preflight checks

      Example: 19

      {"format":"int32"}

    • unhealthyAgents
      Integer

      Number of agents that failed one or more preflight checks

      Example: 1

      {"format":"int32"}

    • healthyPct
      Double

      Percentage of agents that passed preflight checks

      Example: 95

      {"format":"double"}

    • decision
      String

      Gate decision based on the configured minimum healthy percentage

      Example: proceed

    • excludedAgentIds
      List

      Excluded agent ids

    • agentResults
      List

      Agent results

      • 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

      • failReasons
        List

        Fail reasons

    • checkedAt
      String

      Checked at

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

      {"format":"date-time"}

    • durationMs
      String

      Duration of the preflight run in milliseconds

      Example: 4800

      {"format":"int64"}

  • total
    Integer

    Total number of preflight results for this plan

    Example: 5

    {"format":"int32"}

  • limit
    Integer

    Maximum number of items returned per page

    Example: 10

    {"format":"int32"}

  • offset
    Integer

    Number of items skipped before the current page

    Example: 20

    {"format":"int32"}