Skip to main content

Execute Mission

POST 

/api/v1/missions/:id/execute

Run a saved mission by id (or name). Builds the BehaviorTree XML on the server, exactly like the UI's Run button, and sends it to the robot. Progress arrives on /aggregated_feedback (and the aggregated_feedback webhook).

Request​

Path Parameters

    id stringrequired

    Possible values: >= 3 characters

Body

    execution_mode integer

    Possible values: <= 2

    0 = QUEUE behind the running mission (UI default), 1 = REPLACE_TREE, 2 = CANCEL_AND_RUN

Responses​

Execute goal sent to the robot

Schema
    success booleanrequired
    message stringrequired
    status numberrequired
    data objectrequired
    goal_id stringrequired
    mission_id stringrequired
    mission_name stringrequired
    execution_mode numberrequired
Loading...