Infrastructure/OTA Versions & Policies
POSTOTASince 1.0SynchronousAuth Required
RunPreflight
Execute preflight health and readiness checks before starting an upgrade
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
planIdStringRequiredID of the upgrade plan to run preflight checks for
Body Fields
agentIdsListRequiredAgent ids
Example: item1,item2
configObjectRequiredConfiguration data as key-value pairs
planIdStringID of the upgrade plan this preflight configuration applies to
Example: plan-a1b2c3d4-e5f6-7890-abcd-ef1234567890
modeStringPreflight mode, e.g. strict or advisory
Example: strict
checksListChecks for this resource
Example: item1,item2
timeoutSecIntegerMaximum seconds to wait for all preflight checks to complete
Example: 120
minHealthyPctLongMinimum percentage of agents that must be healthy to proceed
Example: 90
Responses
Endpoint
POST/api/v1/ota/plans/{planId}/preflight
/api/v1/ota/plans/{planId}/preflight
Request Example
curl -X POST '{host}/api/v1/ota/plans/{planId}/preflight' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"agentIds":"item1,item2","config":{"planId":"plan-a1b2c3d4-e5f6-7890-abcd-ef1234567890","mode":"strict","checks":"item1,item2","timeoutSec":120,"minHealthyPct":90.0}}'
Response Example
200{"planId": "plan-a1b2c3d4-e5f6-7890-abcd-ef1234567890", "mode": "strict", "totalAgents": 20, "healthyAgents": 19, "unhealthyAgents": 1, "healthyPct": 95.0, "decision": "proceed", "excludedAgentIds": ["value"]}Change History
This API has no change history records yet.
