Documentation / Team / Endpoint
POST

/api/v1/team/handovers/{id}/retry

Retry a failed target takeover with the same reservation

Request#

POSIX shell · curl
curl --fail-with-body --request POST \
  "$ADBR_API_URL/api/v1/team/handovers/{id}/retry" \
  -H "Authorization: Bearer $ADBR_API_TOKEN" \
  -H "Content-Type: application/json" \
  --data @request.json

Use the local address and token from API & MCP. Replace path placeholders such as {id} with actual IDs. Create request.json according to the body schema below before running this command.

Authentication and permissions#

Authentication: Bearer token

Scopes: runtime:control

All listed scopes are required; admin satisfies scope checks. Account permissions, request content, vault state and resource permissions can impose additional requirements.

Parameters#

ParameterLocationRequiredDescription
idpathYes
Complete parameter schemas
OpenAPI JSON
[
  {
    "schema": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "in": "path",
    "name": "id",
    "required": true
  }
]

Request body#

Required.

Complete body schema
OpenAPI JSON
{
  "required": true,
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      }
    }
  }
}

Responses#

200 · Default response
OpenAPI JSON
{
  "description": "Default Response",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "id",
          "profile_id",
          "source_session_id",
          "generation",
          "requester_id",
          "target_member_id",
          "mode",
          "force",
          "state",
          "final_version",
          "error",
          "phase",
          "can_cancel",
          "can_retry"
        ],
        "properties": {
          "requester_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "target_device_name": {
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "type": "string"
          },
          "profile_id": {
            "type": "string"
          },
          "source_session_id": {
            "type": "string"
          },
          "generation": {
            "type": "integer"
          },
          "requester_id": {
            "type": "string"
          },
          "target_member_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "mode": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "takeover"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "close"
                ]
              }
            ]
          },
          "force": {
            "type": "boolean"
          },
          "state": {
            "anyOf": [
              {
                "type": "string",
                "enum": [
                  "requested"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "awaiting_approval"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "accepted"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "stopping"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "syncing"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "failed"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "reserved"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "completed"
                ]
              },
              {
                "type": "string",
                "enum": [
                  "cancelled"
                ]
              }
            ]
          },
          "final_version": {
            "type": [
              "integer",
              "null"
            ]
          },
          "target_session": {
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "id",
                  "profile_id",
                  "member_id",
                  "base_version",
                  "expires_at",
                  "device_id",
                  "device_name",
                  "purpose",
                  "acquired_at",
                  "renewed_at",
                  "generation",
                  "phase",
                  "kernel_started",
                  "start_id",
                  "last_seen_at",
                  "kernel",
                  "termination",
                  "final_version",
                  "revoked"
                ],
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "profile_id": {
                    "type": "string"
                  },
                  "member_id": {
                    "type": "string"
                  },
                  "base_version": {
                    "type": "integer"
                  },
                  "expires_at": {
                    "type": "integer"
                  },
                  "device_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "device_name": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "purpose": {
                    "anyOf": [
                      {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "runtime"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "publish"
                            ]
                          }
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "acquired_at": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "renewed_at": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "generation": {
                    "type": "integer"
                  },
                  "phase": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "preparing"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "reserved"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "running"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "stopping"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "stopped"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "syncing"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "sync_failed"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "recovery_required"
                        ]
                      }
                    ]
                  },
                  "kernel_started": {
                    "type": "boolean"
                  },
                  "start_id": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "last_seen_at": {
                    "type": "integer"
                  },
                  "kernel": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "engine",
                          "build"
                        ],
                        "properties": {
                          "engine": {
                            "type": "string"
                          },
                          "build": {
                            "type": "string"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "termination": {
                    "anyOf": [
                      {
                        "type": "object",
                        "required": [
                          "start_id",
                          "tree_empty",
                          "end_kind",
                          "cookies_preserved"
                        ],
                        "properties": {
                          "start_id": {
                            "type": "string"
                          },
                          "tree_empty": {
                            "type": "boolean"
                          },
                          "end_kind": {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "clean"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "forced"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "crashed"
                                ]
                              }
                            ]
                          },
                          "cookies_preserved": {
                            "type": "boolean"
                          }
                        }
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "final_version": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "revoked": {
                    "type": "boolean"
                  }
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "can_approve": {
            "type": "boolean"
          },
          "hard_end": {
            "type": "boolean"
          },
          "created_at": {
            "type": "integer"
          },
          "updated_at": {
            "type": "integer"
          },
          "error": {
            "anyOf": [
              {
                "type": "object",
                "required": [
                  "code",
                  "message"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  }
                }
              },
              {
                "type": "null"
              }
            ]
          },
          "notices": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "phase": {
            "type": "string"
          },
          "server_state": {
            "type": "string"
          },
          "target_error": {
            "type": "object",
            "required": [
              "code",
              "message",
              "stage",
              "recovery_required",
              "target_session_id",
              "generation",
              "observed_at"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "preflight"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "download"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "import"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "start"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "ack"
                    ]
                  }
                ]
              },
              "recovery_required": {
                "type": "boolean"
              },
              "target_session_id": {
                "type": "string"
              },
              "generation": {
                "type": "integer"
              },
              "observed_at": {
                "type": "integer"
              }
            }
          },
          "can_cancel": {
            "type": "boolean"
          },
          "can_retry": {
            "type": "boolean"
          }
        }
      }
    }
  }
}
default · HTTP error envelope. The status and error.code identify the failure.
OpenAPI JSON
{
  "description": "HTTP error envelope. The status and error.code identify the failure.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}

General authentication and transport errors may occur in addition to the documented responses.

OpenAPI definition#

Complete operation definition
OpenAPI JSON
{
  "summary": "Fehlgeschlagene Zielübernahme mit derselben Reservierung erneut versuchen",
  "tags": [
    "Team"
  ],
  "description": "Die vorhandene Sitzung bleibt reserviert. Nach einem möglicherweise gestarteten Browser ist eine Prüfung der lokalen Sitzung erforderlich.",
  "requestBody": {
    "required": true,
    "content": {
      "application/json": {
        "schema": {
          "type": "object",
          "properties": {},
          "additionalProperties": false
        }
      }
    }
  },
  "parameters": [
    {
      "schema": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64
      },
      "in": "path",
      "name": "id",
      "required": true
    }
  ],
  "x-required-scopes": [
    "runtime:control"
  ],
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "id",
              "profile_id",
              "source_session_id",
              "generation",
              "requester_id",
              "target_member_id",
              "mode",
              "force",
              "state",
              "final_version",
              "error",
              "phase",
              "can_cancel",
              "can_retry"
            ],
            "properties": {
              "requester_name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "target_device_name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "id": {
                "type": "string"
              },
              "profile_id": {
                "type": "string"
              },
              "source_session_id": {
                "type": "string"
              },
              "generation": {
                "type": "integer"
              },
              "requester_id": {
                "type": "string"
              },
              "target_member_id": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "mode": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "takeover"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "close"
                    ]
                  }
                ]
              },
              "force": {
                "type": "boolean"
              },
              "state": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "requested"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "awaiting_approval"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "accepted"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "stopping"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "syncing"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "failed"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "reserved"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "completed"
                    ]
                  },
                  {
                    "type": "string",
                    "enum": [
                      "cancelled"
                    ]
                  }
                ]
              },
              "final_version": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "target_session": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "id",
                      "profile_id",
                      "member_id",
                      "base_version",
                      "expires_at",
                      "device_id",
                      "device_name",
                      "purpose",
                      "acquired_at",
                      "renewed_at",
                      "generation",
                      "phase",
                      "kernel_started",
                      "start_id",
                      "last_seen_at",
                      "kernel",
                      "termination",
                      "final_version",
                      "revoked"
                    ],
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "profile_id": {
                        "type": "string"
                      },
                      "member_id": {
                        "type": "string"
                      },
                      "base_version": {
                        "type": "integer"
                      },
                      "expires_at": {
                        "type": "integer"
                      },
                      "device_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "device_name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "purpose": {
                        "anyOf": [
                          {
                            "anyOf": [
                              {
                                "type": "string",
                                "enum": [
                                  "runtime"
                                ]
                              },
                              {
                                "type": "string",
                                "enum": [
                                  "publish"
                                ]
                              }
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "acquired_at": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "renewed_at": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "generation": {
                        "type": "integer"
                      },
                      "phase": {
                        "anyOf": [
                          {
                            "type": "string",
                            "enum": [
                              "preparing"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "reserved"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "running"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "stopping"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "stopped"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "syncing"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "sync_failed"
                            ]
                          },
                          {
                            "type": "string",
                            "enum": [
                              "recovery_required"
                            ]
                          }
                        ]
                      },
                      "kernel_started": {
                        "type": "boolean"
                      },
                      "start_id": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "last_seen_at": {
                        "type": "integer"
                      },
                      "kernel": {
                        "anyOf": [
                          {
                            "type": "object",
                            "required": [
                              "engine",
                              "build"
                            ],
                            "properties": {
                              "engine": {
                                "type": "string"
                              },
                              "build": {
                                "type": "string"
                              }
                            }
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "termination": {
                        "anyOf": [
                          {
                            "type": "object",
                            "required": [
                              "start_id",
                              "tree_empty",
                              "end_kind",
                              "cookies_preserved"
                            ],
                            "properties": {
                              "start_id": {
                                "type": "string"
                              },
                              "tree_empty": {
                                "type": "boolean"
                              },
                              "end_kind": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "enum": [
                                      "clean"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "forced"
                                    ]
                                  },
                                  {
                                    "type": "string",
                                    "enum": [
                                      "crashed"
                                    ]
                                  }
                                ]
                              },
                              "cookies_preserved": {
                                "type": "boolean"
                              }
                            }
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "final_version": {
                        "type": [
                          "integer",
                          "null"
                        ]
                      },
                      "revoked": {
                        "type": "boolean"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "can_approve": {
                "type": "boolean"
              },
              "hard_end": {
                "type": "boolean"
              },
              "created_at": {
                "type": "integer"
              },
              "updated_at": {
                "type": "integer"
              },
              "error": {
                "anyOf": [
                  {
                    "type": "object",
                    "required": [
                      "code",
                      "message"
                    ],
                    "properties": {
                      "code": {
                        "type": "string"
                      },
                      "message": {
                        "type": "string"
                      }
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "notices": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "phase": {
                "type": "string"
              },
              "server_state": {
                "type": "string"
              },
              "target_error": {
                "type": "object",
                "required": [
                  "code",
                  "message",
                  "stage",
                  "recovery_required",
                  "target_session_id",
                  "generation",
                  "observed_at"
                ],
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "stage": {
                    "anyOf": [
                      {
                        "type": "string",
                        "enum": [
                          "preflight"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "download"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "import"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "start"
                        ]
                      },
                      {
                        "type": "string",
                        "enum": [
                          "ack"
                        ]
                      }
                    ]
                  },
                  "recovery_required": {
                    "type": "boolean"
                  },
                  "target_session_id": {
                    "type": "string"
                  },
                  "generation": {
                    "type": "integer"
                  },
                  "observed_at": {
                    "type": "integer"
                  }
                }
              },
              "can_cancel": {
                "type": "boolean"
              },
              "can_retry": {
                "type": "boolean"
              }
            }
          }
        }
      }
    },
    "default": {
      "description": "HTTP error envelope. The status and error.code identify the failure.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    }
  }
}

Search for headless, MCP, cookies or an API endpoint.

↑ ↓ NavigateEnter OpenEsc Close