Skip to Content

inspectAccount()

inspectAccount(signInId): Promise<{ account: | { accountLimits: unknown; paidCredits?: { hasCredits: boolean; unlimited: boolean; }; plan?: string; status: "available"; } | { reason: string; status: "rejected"; } | { kind: "http" | "network" | "parse" | "aborted"; reason: string; status: "failed"; }; signInId: string; }>;

Reads the subscription’s account, which may renew the stored token.

Parameters

signInId

string

Workflow guides

Last updated on