Interface: UiPromptConnect
Defined in: packages/sdk/src/types/generated/ui_prompt.ts:51
The connect-card payload of an inline_connect prompt.
Deliberately WITHOUT the link. GET /connect/{token} is unauthenticated
by design (it has to work from a text message on a phone), which makes the
URL a bearer credential — and a tool result is the wrong place for one: it
is persisted in chat history, replayed into every later model call,
exported with the transcript and copied into traces, readable by anyone
with CHATS_READ on the chat for the 15 minutes it stays live. The card
fetches the link when the member clicks Connect, from
GET /chats/{chat_id}/inline-connect/{app_slug}/link, which answers only
for the acting member's own solicitation (:class:InlineConnectLinkResponse).
Properties
appSlug
appSlug:
string
Defined in: packages/sdk/src/types/generated/ui_prompt.ts:53
Platform slug, e.g. gmail, gcalendar
connectionUuid
connectionUuid:
string
Defined in: packages/sdk/src/types/generated/ui_prompt.ts:55
UUID of the workspace app connection
expiresInMinutes
expiresInMinutes:
number
Defined in: packages/sdk/src/types/generated/ui_prompt.ts:59
Lifetime of the connect link, in minutes, from when it was minted
label
label:
string
Defined in: packages/sdk/src/types/generated/ui_prompt.ts:57
Human-readable provider name, e.g. Gmail