What is due on the target when this connection is deleted

For a connection whose credentials the platform minted, the steps to run on the target when deleting it (e.g. removing the installed key) — deleting the connection cannot reach the target. Creation-time steps come only from submitIntegrationConnect. deferred is omitted: every step here is deletion-time. Empty for an auth that mints nothing, and for an unknown, malformed or not-owned id.

GET/api/me/connections/{connectionId}/handoff

Authorization

better-auth.session_token<token>

Cookie session from Better Auth. Requires X-Org-Id header for org-scoped routes.

In: cookie

Path Parameters

connectionId*string
Formatuuid
curl -X GET "https://your-instance/api/me/connections/497f6eca-6276-4993-bfeb-53cbbbba6f08/handoff"
{
  "object": "list",
  "hasMore": true,
  "data": [
    {
      "kind": "command",
      "id": "string",
      "label": "string",
      "shell": "string",
      "note": "string",
      "deferred": true
    }
  ]
}
{
  "type": "https://docs.appstrate.dev/errors/unauthorized",
  "title": "Unauthorized",
  "status": 401,
  "detail": "Invalid or missing session",
  "code": "unauthorized",
  "request_id": "req_abc123"
}