Connections

Preview what a connection transfer would touch

Previews what POST /connection/{id}/transfer would break, before anything is written, so you can show the consequence while the decision is still open. It is a summary, not a list: exact counts plus at most five named toolboxes, breaking ones first, so it takes no limit or cursor. Gated on exactly what the transfer itself is gated on, so it never advertises something that would 403.

get/connection/{id}/transfer-preview

Request

  • Base URL: https://api.elaichi.ai
  • URL: https://api.elaichi.ai/connection/{id}/transfer-preview
  • Auth: HTTP bearer

Path parameters

idstring required

Connection id (conn_…).

Headers

X-Organization-Idstring

Target organization (org_…). Required for cookie/session auth on org-scoped routes; optional for API tokens, which carry their organization, and rejected when it names a different one.

Response

OK

affected_toolbox_countinteger

Exact number of toolboxes with an entry pinned to this connection.

broken_delegation_countinteger

Exact number of the above that the CALLER pinned, and so the number at risk if they end up below use. Not narrowed by keeps_access_without_retaining — read the two together.

keeps_access_without_retainingboolean

The caller already reaches this connection through a grant of their own (org-wide, or a team they are in), so handing it over costs them nothing even without retain_access and nothing they pinned breaks. Computed server-side because access: "owner" outranks and hides whatever grant is underneath it — a client cannot derive this.

Changes

No recorded changes to this operation across all 1 revision of this API.