oyuk2ny7392o85u5

Create Mission Template

Changed on

Create a new Mission Template.

post/v0/mission_document/template

Request

  • Base URL
    https://api.skydio.com/api
  • Auth
    API key in header Authorization

Request body

autoStarttrue required

The Mission will automatically start after launch.

autonomousAbortMissionOnFailedActionboolean

Autonomous abort the mission when an action fails. Autonomous abort still runs the post mission action

disableStrobeLightsboolean

Whether the vehicle should disable strobe lights for the duration of the mission. Strobe lights are only available on Skydio X2 vehicle and enabled by default in DRO flights.

displayNamestring required

Name of the mission

dockMissiontrue required

This is a dock mission.

lostConnectionAction'RETURN_TO_HOME' | 'CONTINUE' | 'HOVER' required

Desired lost connection action

navigationModeOverride'UNKNOWN' | 'DEFAULT_NAV' | 'TWILIGHT' | 'NIGHT_AUTONOMY'

Overrides the navigation mode with the specified setting.

navigationModeOverrideEnabledboolean

Enable to set a different navigation mode.

postFailureAction'LAND_AT_DOCK' | 'DIRECT_RETURN_AND_LAND_AT_DOCK' | 'DEFAULT_RETURN' | 'DIRECT_DEFAULT_RETURN' required

Action to take if mission fails.

postMissionAction'LAND_AT_DOCK' | 'DIRECT_RETURN_AND_LAND_AT_DOCK' | 'DEFAULT_RETURN' | 'DIRECT_DEFAULT_RETURN' required

Action to perform after the mission completes.

useRtxSettingstrue required

If true, update current vehicle settings with the specified rtx settings

videoBitrateOverrideinteger

Set a custom video bitrate. Has no effect if set to 0.

Response

Mission Template returned from /mission_document/template endpoints

error_messagestring
skydio_error_codeinteger required
status_codeinteger required

Changes