ACTIVE, has no disable reason, has a stored refresh token and sits on an ACTIVE domain.mailboxIds, tagIds, contains or filters. With no selector, every eligible mailbox in the workspace is returned.POST /ai-insight/calculate-pricing counts the credits needed and, for the monthly cycle, whether you have enough. It charges nothing. Get AI Insight Credits shows your balance, split into monthly and lifetime subscriptions.checkoutUrl. If the plan has fewer credits than mailboxes the call fails and no credits are deducted.POST /ai-insight/mailbox-analysis lists analyses, newest first. Poll until status is SUCCESS or FAILED. Fetch one with GET /ai-insight/mailbox-analysis/{id}. The result fields are null while the analysis is IN_PROGRESS or when it FAILED.checkoutUrl is the link for the remainder. With a plan, credits are consumed instead of money.starter, growth or pro) on a monthly or ltd (lifetime) billing cycle. It always pays from the wallet. Monthly plans renew; lifetime plans are a one-time invoice. The response carries only the invoice link.POST /ai-insight/upgrade-plan moves an active monthly subscription to another monthly plan. Lifetime plans cannot be upgraded. subscriptionId is the payment provider's subscription ID. A prorated invoice is created immediately; check requiresPayment and invoiceUrl.POST /ai-insight/purchase-mailboxes buys one-time analyses for selected mailboxes and returns a payment link, without a subscription. Nothing is analysed by this call. Subscribers should use Generate AI Insight Analysis.useWallet true) invoice the account owner and pay from wallet balance when it covers the cost, otherwise checkoutUrl is the link for the remainder. Upgrade AI Insight Plan invoices the prorated difference on the subscription.POST /ai-insight/mailbox-analysis/{id}/share turns on a public link and returns it. Anyone with the link can read the report without signing in, and there is no endpoint to unshare it.POST /ai-insight/mailbox-analysis/{id}/share-email emails the link to recipients. Addresses that could not be queued are returned in failedEmails.GET /ai-insight/mailbox-analysis/{id}/public reads a shared analysis by ID. It is not limited to your workspace, so any valid API key can read any shared analysis whose ID it knows.